mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 10:08:15 -05:00
11 lines
192 B
Go
11 lines
192 B
Go
package drain
|
|
|
|
import "io"
|
|
|
|
//go:generate go run github.com/v2fly/v2ray-core/v5/common/errors/errorgen
|
|
|
|
type Drainer interface {
|
|
AcknowledgeReceive(size int)
|
|
Drain(reader io.Reader) error
|
|
}
|