Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadConfig ¶
func ReadConfig() error
ReadConfig reads the configuration from the environment variables.
Types ¶
type Specification ¶
type Specification struct { AuthJwtSecret JwtConfig `required:"true" split_words:"true"` DataURL string `required:"true" split_words:"true"` DataSecret string `required:"true" split_words:"true"` }
Specification is the specification of the env-based config.
var Config Specification
Config holds the config values.
Click to show internal directories.
Click to hide internal directories.