Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecuteMigrations ¶
func ExecuteMigrations()
func LoadConfig ¶
func LoadConfig()
Types ¶
type ApplicationConf ¶
type Configuration ¶
type Configuration struct {
Application ApplicationConf `yaml:"app"`
Security SecurityConf `yaml:"security"`
Data DataConf `yaml:"data"`
Server ServerConf `yaml:"server"`
}
var CONFIG Configuration
type DataConf ¶
type DataConf struct {
Datasource DatasourceConf `yaml:"datasource"`
}
type DatasourceConf ¶
type DatasourceConf struct {
Postgres PostgresConf `yaml:"postgres"`
}
type PasswordConfig ¶
type PasswordConfig struct {
Cost int `yaml:"cost"`
}
type PostgresConf ¶
type SecurityConf ¶
type SecurityConf struct {
JWT JWTConf `yaml:"jwt"`
Password PasswordConfig `yaml:"password"`
}
Click to show internal directories.
Click to hide internal directories.