Documentation ¶
Index ¶
- type EnvLoader
- type FileLoader
- type Loader
- func CreateClientLoader(conf *config.TLSConfig, logger zLogger.ZLogger, hosts ...string) (tlsConfig *tls.Config, l Loader, err error)
- func CreateServerLoader(mutual bool, conf *config.TLSConfig, uris []string, logger zLogger.ZLogger) (tlsConfig *tls.Config, l Loader, err error)
- func NewDevLoader(certChannel chan *tls.Certificate, client bool, useSystemCertPool bool, ...) (Loader, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvLoader ¶
type EnvLoader struct {
// contains filtered or unexported fields
}
func NewEnvLoader ¶
type FileLoader ¶
type FileLoader struct {
// contains filtered or unexported fields
}
func NewFileLoader ¶
func (*FileLoader) Close ¶
func (f *FileLoader) Close() error
func (*FileLoader) GetCA ¶
func (f *FileLoader) GetCA() *x509.CertPool
func (*FileLoader) Run ¶ added in v2.0.18
func (f *FileLoader) Run() error
type Loader ¶
func CreateClientLoader ¶
func CreateServerLoader ¶
func NewDevLoader ¶ added in v2.0.3
Click to show internal directories.
Click to hide internal directories.