Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Mongo struct { AtlasURI string `yaml:"uri" envconfig:"MONGO_ATLAS_URI"` Database string `yaml:"database" envconfig:"MONGO_DATABASE"` } `yaml:"mongo"` Api struct { Address string `yaml:"address" envconfig:"API_ADDRESS"` Prefix string `yaml:"prefix" envconfig:"API_PREFIX"` } `yaml:"api"` }
Config is the configuration of the program.
Click to show internal directories.
Click to hide internal directories.