tlsproxy

package
v0.0.0-...-efbb1c2 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2016 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TLSProxy

type TLSProxy struct {
	// contains filtered or unexported fields
}

func RunTLSProxy

func RunTLSProxy(tlsCertPath, tlsKeyPath, listenAddr, connectAddr, connectPKPath string, maxFrameSize int) (*TLSProxy, error)

func RunTLSProxyWith

func RunTLSProxyWith(cert tls.Certificate, listenAddr, connectAddr string, connectPK *[32]byte, maxFrameSize int) (*TLSProxy, error)

func (*TLSProxy) AcceptLoop

func (t *TLSProxy) AcceptLoop(ln net.Listener)

func (*TLSProxy) Client

func (t *TLSProxy) Client(inConn net.Conn)

func (*TLSProxy) ClientIncoming

func (t *TLSProxy) ClientIncoming(inConn net.Conn, outConn *transport.Conn)

func (*TLSProxy) ClientOutgoing

func (t *TLSProxy) ClientOutgoing(inConn net.Conn, outConn *transport.Conn)

func (*TLSProxy) Stop

func (t *TLSProxy) Stop()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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