tlspin

package module
v2.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2018 License: CC0-1.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

View Source
const (
	RandomKey = "whateverkey"
	AnyKey    = "whateverkey"
)

Variables

This section is empty.

Functions

func Dial

func Dial(network, addr, publickey string) (net.Conn, error)

func DialWithDialer

func DialWithDialer(dialer *net.Dialer, network, addr, publickey string) (net.Conn, error)

func Keyfile

func Keyfile(filename string) string

func Listen

func Listen(network, addr, privatekey string) (net.Listener, error)

func TLSClientConfig

func TLSClientConfig(publickey string) (*tls.Config, error)

func TLSServerConfig

func TLSServerConfig(privatekey string) (*tls.Config, error)

Types

This section is empty.

Directories

Path Synopsis
cmd
certs.go - generate TLS certificates.
certs.go - generate TLS certificates.

Jump to

Keyboard shortcuts

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