mirror of
https://github.com/cbeuw/Cloak.git
synced 2024-11-11 13:11:03 +00:00
10 lines
197 B
Go
10 lines
197 B
Go
package client
|
|
|
|
import "net"
|
|
|
|
type Transport interface {
|
|
PrepareConnection(*State, net.Conn) (net.Conn, []byte, error)
|
|
HasRecordLayer() bool
|
|
UnitReadFunc() func(net.Conn, []byte) (int, error)
|
|
}
|