Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( NewListener = tls.NewListener Dial = tls.Dial DialWithDialer = tls.DialWithDialer )
Functions ¶
This section is empty.
Types ¶
type ClientConf ¶
type ClientConf struct { // Path to file containing certificate. Cert string `mapstructure:"cert"` // Path to file containing key. Key string `mapstructure:"key"` // Path to file containing CA for server validation. CA string `mapstructure:"ca"` // Do not verify server. SkipVerify bool `mapstructure:"insecure-no-verify"` }
type ServerConf ¶
type ServerConf struct { // Path to file containing certificate. Cert string `mapstructure:"cert"` // Path to file containing key. Key string `mapstructure:"key"` // Path to file containing CA for client validation. CA string `mapstructure:"ca"` // Do not verify clients. SkipVerify bool `mapstructure:"insecure-no-verify"` }
Click to show internal directories.
Click to hide internal directories.