Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendKeyPair ¶
AppendKeyPair loads the given TLS key pair and appends it to tlsConfig.Certificates.
func NewTLSConfig ¶
NewTLSConfig returns an initialized TLS configuration suitable for client authentication. If caFile is non-empty, it will be loaded.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.