crypt

package
v0.0.0-...-7757972 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2016 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCryptConn

func NewCryptConn(conn net.Conn, block enc.BlockCrypt) (*cryptConn, error)

Types

type CryptLayerContext

type CryptLayerContext struct {
	*enc.BlockConfig
}

func (*CryptLayerContext) Dial

func (this *CryptLayerContext) Dial(c net.Conn) (net.Conn, error)

func (*CryptLayerContext) Layer

func (this *CryptLayerContext) Layer() conn.ConnLayer

func (*CryptLayerContext) NewListener

func (this *CryptLayerContext) NewListener(l net.Listener) (net.Listener, error)

Jump to

Keyboard shortcuts

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