tls

package
v0.0.0-...-d0f1447 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2019 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TlsDialer

type TlsDialer struct {
	tcommon.TunnelDialer
	// contains filtered or unexported fields
}

func GetTlsDialer

func GetTlsDialer() TlsDialer

func (TlsDialer) Dial

func (d TlsDialer) Dial(network, addr string) (c net.Conn, err error)

func (TlsDialer) Protocol

func (d TlsDialer) Protocol() tcommon.TunnelProtocol

type TlsServer

type TlsServer struct {
	tcommon.TunnelServerCommon
}

func StartTlsServer

func StartTlsServer(crt, key, address string) (TlsServer, error)

Jump to

Keyboard shortcuts

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