Documentation ¶
Index ¶
- func Asset(name string) ([]byte, error)
- func ClientConfig(servername string, rootPaths []string) (*tls.Config, error)
- func ClientSnakeoil() (tlsConfig *tls.Config, err error)
- func ClientTrusted(servername string) (tlsConfig *tls.Config, err error)
- func ServerConfig(crtPath string, keyPath string) (tlsConfig *tls.Config, err error)
- func ServerSnakeoil() (tlsConfig *tls.Config, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Asset ¶
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 ClientSnakeoil ¶
func ServerConfig ¶
func ServerSnakeoil ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.