Documentation ¶
Index ¶
- func LoadClientConfig(certFile, keyFile string) (*tls.Config, error)
- func LoadClientConfigFromDir(dir string) (*tls.Config, error)deprecated
- func LoadOrGenerateConfig(certFile, keyFile string, logger *zap.Logger) (*tls.Config, error)
- func LoadOrGenerateConfigFromDir(dir string, logger *zap.Logger) (*tls.Config, error)deprecated
- func LoadServerConfig(certFile, keyFile string) (*tls.Config, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadClientConfig ¶ added in v3.2.5
func LoadClientConfigFromDir
deprecated
added in
v3.2.5
func LoadOrGenerateConfig ¶ added in v3.2.5
LoadOrGenerateConfig loads the TLS configuration from the given files, or generates a new one if the files do not exist.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.