Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefaultConfigurationFilePath = "config/config.yml"
)
Variables ¶
View Source
var ( // ErrNoServiceInConfig is an error returned when a configuration file has no services configured ErrNoServiceInConfig = errors.New("configuration file should contain at least 1 service") // ErrConfigFileNotFound is an error returned when the configuration file could not be found ErrConfigFileNotFound = errors.New("configuration file not found") // ErrConfigNotLoaded is an error returned when an attempt to Get() the configuration before loading it is made ErrConfigNotLoaded = errors.New("configuration is nil") // ErrInvalidSecurityConfig is an error returned when the security configuration is invalid ErrInvalidSecurityConfig = errors.New("invalid security configuration") )
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.