Cloak/internal/client/transport.go
2019-09-01 20:23:45 +01:00

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)
}