Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Option ¶ added in v0.1.1
type Option interface {
Apply(*Options)
}
Option provides options when collecting configuration information.
func WithPrefix ¶ added in v0.1.1
WithPrefix adds a prefix to the name of the enviroment variables being referenced.
type TLS ¶ added in v0.7.0
type TLS interface {
// Cert returns the file name of the PEM encoded public key.
Cert() string
// Key returns the file name of the PEM encoded private key.
Key() string
// CACert returns the file name of the PEM encoded public key of the client CA.
CACert() string
}
TLS contains the information necessary to create a tls.Config.
Click to show internal directories.
Click to hide internal directories.