Cloak/internal/client/transport.go
2020-04-10 14:09:48 +01:00

11 lines
155 B
Go

package client
import (
"net"
)
type Transport interface {
Handshake(rawConn net.Conn, authInfo AuthInfo) (sessionKey [32]byte, err error)
net.Conn
}