cfg

package
v0.0.0-...-79deb2b Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2017 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Secret string

Functions

func InitConfig

func InitConfig()

func LoadTLSConfig

func LoadTLSConfig(keyFile, certFile, cacertFile string) (*tls.Config, error)

func NewTLSConfig

func NewTLSConfig(key crypto.PrivateKey, cert *x509.Certificate, cacert *x509.Certificate) *tls.Config

func TLSConfig

func TLSConfig() *tls.Config

NB: uses global variables initialized from command line flags

Types

This section is empty.

Jump to

Keyboard shortcuts

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