package
Version:
v0.25.1
Opens a new window with list of versions in this module.
Published: Mar 10, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 3
Opens a new window with list of known importers.
Documentation
¶
-
func NewClientConfig(logger log.Logger, cert, key, caCert, serverName string, skipVerify bool) (*tls.Config, error)
-
func NewServerConfig(logger log.Logger, cert, key, clientCA string) (*tls.Config, error)
NewClientConfig provides new client TLS configuration.
NewServerConfig provides new server TLS configuration.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.