Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrProtocolFail = errors.New("niaucchi2: nonsensical network messages")
ErrProtocolFail means a fatal protocol violation.
View Source
var ErrTablesFull = errors.New("niaucchi2: internal tables in Context are full")
ErrTablesFull means the internal tables used in the Context are full.
View Source
var ErrTimeout = errors.New("niaucchi2: watchdog timed out")
ErrTimeout indicates a timeout error.
Functions ¶
This section is empty.
Types ¶
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
Context represents a collection of secure connections used to tunnel sockets.
func (*Context) Accept ¶
func (ctx *Context) Accept() (conn io.ReadWriteCloser, err error)
Accept must be called by only the server.
Click to show internal directories.
Click to hide internal directories.