mirror of https://github.com/XTLS/Xray-core
9 lines
116 B
Go
9 lines
116 B
Go
|
package drain
|
||
|
|
||
|
import "io"
|
||
|
|
||
|
type Drainer interface {
|
||
|
AcknowledgeReceive(size int)
|
||
|
Drain(reader io.Reader) error
|
||
|
}
|