Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type App ¶ added in v1.0.0
type App struct {
Version string
Name string
Log struct {
Level string
File struct {
Enable bool
Path string
}
}
Token struct {
Secret string
ExpireDuration string `mapstructure:"expire_duration"`
RefreshDuration string `mapstructure:"refresh_duration"`
}
Swagger struct {
Enable bool
}
Data struct {
Database struct {
Driver string
Source string
MaxIdleConn int `mapstructure:"max_idle_conn"`
MaxOpenConn int `mapstructure:"max_open_conn"`
}
Cache struct {
Driver string
Source string
}
}
Response struct {
HideErrorDetails bool `mapstructure:"hide_error_details"`
}
}
Click to show internal directories.
Click to hide internal directories.