tls

package
v0.0.0-...-af7e2a9 Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2014 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Asset

func Asset(name string) ([]byte, error)

Asset loads and returns the asset for the given name. It returns an error if the asset could not be found or could not be loaded.

func ClientConfig

func ClientConfig(servername string, rootPaths []string) (*tls.Config, error)

func ClientSnakeoil

func ClientSnakeoil() (tlsConfig *tls.Config, err error)

func ClientTrusted

func ClientTrusted(servername string) (tlsConfig *tls.Config, err error)

func ServerConfig

func ServerConfig(crtPath string, keyPath string) (tlsConfig *tls.Config, err error)

func ServerSnakeoil

func ServerSnakeoil() (tlsConfig *tls.Config, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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