Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JoinMore ¶ added in v0.3.0
messages from c1 to c2 will be encrypted and from c2 to c1 will be decrypted
func PipeDecrypt ¶ added in v0.3.0
decrypt msg from reader, then write into writer
Types ¶
type Conn ¶
type Conn struct { TcpConn net.Conn Reader *bufio.Reader // contains filtered or unexported fields }
wrap for TCPConn
func (*Conn) GetLocalAddr ¶
func (*Conn) GetRemoteAddr ¶
Click to show internal directories.
Click to hide internal directories.