Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TLSInfo ¶
type TLSInfo struct { CertFile string KeyFile string CAFile string // contains filtered or unexported fields }
func (TLSInfo) ClientConfig ¶
ClientConfig generates a tls.Config object for use by an HTTP client
func (TLSInfo) ServerConfig ¶
ServerConfig generates a tls.Config object for use by an HTTP server
Click to show internal directories.
Click to hide internal directories.