package
Version:
v0.36.1
Opens a new window with list of versions in this module.
Published: Aug 13, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 9
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, certPath, keyPath, 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.