cipherConn

package
v0.0.0-...-dfaa5d9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 27, 2015 License: MIT Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CipherConn

type CipherConn struct {
	TimeOut time.Duration
	// contains filtered or unexported fields
}

func NewCipherConn

func NewCipherConn(de, en cipher.Stream, conn net.Conn) *CipherConn

func (*CipherConn) Close

func (cc *CipherConn) Close() error

func (*CipherConn) LocalAddr

func (cc *CipherConn) LocalAddr() net.Addr

func (*CipherConn) Read

func (cc *CipherConn) Read(b []byte) (n int, err error)

func (*CipherConn) RemoteAddr

func (cc *CipherConn) RemoteAddr() net.Addr

func (*CipherConn) SetDeadline

func (cc *CipherConn) SetDeadline(t time.Time) error

func (*CipherConn) SetReadDeadline

func (cc *CipherConn) SetReadDeadline(t time.Time) error

func (*CipherConn) SetWriteDeadline

func (cc *CipherConn) SetWriteDeadline(t time.Time) error

func (*CipherConn) Write

func (cc *CipherConn) Write(b []byte) (n int, err error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL