Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadConfig ¶
Types ¶
type Application ¶
type Application struct { Port string `yaml:"port" env-default:"8080"` BaseUrl string `yaml:"baseUrl" env-default:"/"` DbUrl string `yaml:"db_url"` TokenSecret string `yaml:"token_secret"` TokenLifeTime int `yaml:"token_lifetime"` }
var App Application
Click to show internal directories.
Click to hide internal directories.