mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-11-30 12:31:29 +00: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
|
||
|
}
|