Documentation ¶ Index ¶ func NewTLSConfig(certPath, keyPath, caPath string) (*tls.Config, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewTLSConfig ¶ func NewTLSConfig(certPath, keyPath, caPath string) (*tls.Config, error) NewTLSConfig returns a TLS config that includes a certificate Use for server TLS config or when using a client certificate If caPath is empty, system CAs will be used Types ¶ This section is empty. Source Files ¶ View all Source files tls.go Click to show internal directories. Click to hide internal directories.