1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-18 02:16:10 -05:00
v2fly/common/drain/drain.go

11 lines
192 B
Go
Raw Normal View History

package drain
import "io"
//go:generate go run github.com/v2fly/v2ray-core/v4/common/errors/errorgen
type Drainer interface {
AcknowledgeReceive(size int)
Drain(reader io.Reader) error
}