Documentation ¶
Index ¶
- func GetConfigBytes(configFilePath string) ([][]byte, error)
- func GetFileBytes(filename string) ([]byte, error)
- func LoadBaseTLSConfig(tlsConfig *shared.TLSConfigFile) (*tls.Config, *x509.CertPool, error)
- func LoadClientTLSConfig(tlsConfig *client.ClientTLSConfigFile, serverName string) (*tls.Config, error)
- func LoadConfigFromViper(bindFunc func(v *viper.Viper), configFile interface{}, files ...[]byte) (*viper.Viper, error)
- func LoadServerTLSConfig(tlsConfig *shared.TLSConfigFile) (*tls.Config, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetConfigBytes ¶
func GetFileBytes ¶ added in v0.7.0
func LoadBaseTLSConfig ¶
func LoadClientTLSConfig ¶
func LoadConfigFromViper ¶
func LoadServerTLSConfig ¶
func LoadServerTLSConfig(tlsConfig *shared.TLSConfigFile) (*tls.Config, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.