Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPacketConn ¶
func NewPacketConn(c net.PacketConn, cipher cipherx.AEADCipher) *packetConn
NewPacketConn data format: { [salt data] } { [payload data] [tag data] }
func NewStreamConn ¶
func NewStreamConn(c net.Conn, cipher cipherx.AEADCipher) *streamConn
NewStreamConn data format: { [salt data] } { [payload-size] [tag size] } { [payload data] [tag data] }
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.