Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GeneratePassword ¶
func GeneratePassword() string
func ListenSecureTCP ¶
Types ¶
type SecureTCPConn ¶
type SecureTCPConn struct { io.ReadWriteCloser Cipher *Cipher }
func DialTCPSecure ¶
func DialTCPSecure(raddr *net.TCPAddr, cipher *Cipher) (*SecureTCPConn, error)
func (*SecureTCPConn) DecodeCopy ¶
func (secureSocket *SecureTCPConn) DecodeCopy(dst io.Writer) error
func (*SecureTCPConn) DecodeRead ¶
func (secureSocket *SecureTCPConn) DecodeRead(bs []byte) (n int, err error)
func (*SecureTCPConn) EncodeCopy ¶
func (secureSocket *SecureTCPConn) EncodeCopy(dst io.ReadWriteCloser) error
func (*SecureTCPConn) EncodeWrite ¶
func (secureSocket *SecureTCPConn) EncodeWrite(bs []byte) (int, error)
Click to show internal directories.
Click to hide internal directories.