Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶ added in v0.12.0
type Config struct {
Key string `envconfig:"AES256_KEY"`
}
Config represents configuration options for the AES256-based implementation of the Crypto interface
func GetConfigFromEnvironment ¶ added in v0.12.0
GetConfigFromEnvironment returns configuration derived from environment variables
func NewConfigWithDefaults ¶ added in v0.12.0
func NewConfigWithDefaults() Config
NewConfigWithDefaults returns a Config object with default values already applied. Callers are then free to set custom values for the remaining fields and/or override default values.
Click to show internal directories.
Click to hide internal directories.