Documentation
¶
Index ¶
Constants ¶
View Source
const ( // ServiceName is an identifier-like name used anywhere this app needs to be identified. ServiceName = "hollowtrees" // FriendlyServiceName is the visible name of the service. FriendlyServiceName = "Hollowtrees" // ConfigEnvPrefix defines the prefix that ENVIRONMENT variables will use ConfigEnvPrefix = "HT" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // Meaningful values are recommended (eg. production, development, staging, release/123, etc) Environment string // Turns on some debug functionality (eg. more verbose logs) Debug bool // Log configuration Log log.Config // Healthcheck configuration Healthcheck healthcheck.Config // Prometheus alert handler configuration Promalert promalert.Config }
Config holds any kind of configuration that comes from the outside world and is necessary for running the application
Click to show internal directories.
Click to hide internal directories.