Xray-core/common/drain/drain.go
Kobe Arthur Scofield 7086d286be
Remove legacy code (#3838)
* Add feature migration notice

* Remove legacy code of transport processing

* Clear legacy proto field

* Fix missing

* Unify protocolname

* Test remove

* Supressor

* Weird code

* Remove errorgen related comments
2024-09-23 11:28:19 -04:00

8 lines
116 B
Go

package drain
import "io"
type Drainer interface {
AcknowledgeReceive(size int)
Drain(reader io.Reader) error
}