mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-12-24 04:13:33 +02:00
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
|
||
|
}
|