Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadConfig ¶
func LoadConfig()
Types ¶
type Config ¶
type Config struct { Server struct { Host string `envconfig:"SERVER_HOST" default:"localhost"` Port int `envconfig:"SERVER_PORT"` } Authentication struct { BasicUsername string `envconfig:"AUTH_BASIC_USERNAME"` BasicPassword string `envconfig:"AUTH_BASIC_PASSWORD"` PrivateKey string `envconfig:"AUTH_JWT_PRIVATE_KEY"` PublicKey string `envconfig:"AUTH_JWT_PUBLIC_KEY"` } Database struct { URI string `envconfig:"DB_URI"` } Apm struct { Active bool `envconfig:"ELASTIC_APM_ACTIVE" default:"false"` } }
Click to show internal directories.
Click to hide internal directories.