Documentation
¶
Index ¶
Constants ¶
View Source
const ( ModeServer ModeClient )
Variables ¶
View Source
var ErrNotSupported = errors.New("not supported")
Functions ¶
This section is empty.
Types ¶
type Proxy ¶
type Proxy interface { Cipher() Cipher ShadowStreamConn(c net.Conn, extra ...any) (conn.ProxyStreamConn, error) ShadowPacketConn(c net.PacketConn, extra ...any) (conn.ProxyPacketConn, error) Type() ProxyType // tcpmux implys whether many different msgs within a connection TcpMux() bool }
Proxy reads out and write in message in []byte binary format
Click to show internal directories.
Click to hide internal directories.