Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶ added in v0.4.1
type Config struct {
DB postgres.Config `mapstructure:"db"`
Cortex cortex.Config `mapstructure:"cortex"`
NewRelic telemetry.NewRelicConfig `mapstructure:"newrelic"`
SirenService server.Config `mapstructure:"siren_service"`
Log LogConfig `mapstructure:"log"`
SlackApp SlackApp `mapstructure:"slack_app"`
EncryptionKey string `mapstructure:"encryption_key"`
}
Config contains the application configuration
func LoadConfig ¶
LoadConfig returns application configuration
Click to show internal directories.
Click to hide internal directories.