Cloak/internal/client/transport.go

11 lines
155 B
Go
Raw Normal View History

2019-08-31 17:01:39 +00:00
package client
2020-04-09 21:11:12 +00:00
import (
"net"
)
2019-08-31 17:01:39 +00:00
type Transport interface {
2020-04-10 13:09:48 +00:00
Handshake(rawConn net.Conn, authInfo AuthInfo) (sessionKey [32]byte, err error)
net.Conn
2019-08-31 17:01:39 +00:00
}