Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { MongoURI string `mapstructure:"MONGO_URI"` GinMode string `mapstructure:"GIN_MODE"` Port string `mapstructure:"PORT"` Username string `mapstructure:"USERNAME"` Password string `mapstructure:"PASSWORD"` CaptchaSecret string `mapstructure:"CAPTCHA_SECRET"` }
Config defines the configuration parameters for a Mailbox server.
func LoadConfig ¶
LoadConfig fetches a configuration from the given directory path.
Click to show internal directories.
Click to hide internal directories.