Cloak/internal/client/transport.go

10 lines
202 B
Go
Raw Normal View History

2019-08-31 17:01:39 +00:00
package client
import "net"
type Transport interface {
2020-04-07 20:15:28 +00:00
PrepareConnection(*authInfo, net.Conn) (net.Conn, [32]byte, error)
2019-09-01 19:23:45 +00:00
HasRecordLayer() bool
UnitReadFunc() func(net.Conn, []byte) (int, error)
2019-08-31 17:01:39 +00:00
}