Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIConfiguration ¶
type APIConfiguration struct { Port string Host string MachineID string `mapstructure:"machine_id"` }
APIConfiguration api config
type DBConfiguration ¶
type DBConfiguration struct { URL string Dialect string LogMode bool `mapstructure:"log_mode"` MaxOpenConn int `mapstructure:"max_open_conn"` MaxIdelConn int `mapstructure:"max_idle_conn"` AutoMigrate bool `mapstructure:"auto_migrate"` }
DBConfiguration main db config
type GlobalConfiguration ¶
type GlobalConfiguration struct { API APIConfiguration DB DBConfiguration Logging LoggingConfiguration }
GlobalConfiguration global configuration
type LoggingConfiguration ¶
type LoggingConfiguration struct {
Level string
}
LoggingConfiguration logger config
Click to show internal directories.
Click to hide internal directories.