Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
// common
App AppConfig
Log LogConfig
MySQL MySQLConfig
Redis RedisConfig
Cache CacheConfig
}
Config global config include common and biz config
var (
Conf *Config
)
type LogConfig ¶
type LogConfig struct {
Writers string
LoggerLevel string
LoggerFile string
LoggerWarnFile string
LoggerErrorFile string
LogFormatText bool
LogRollingPolicy string
LogRotateDate int
LogRotateSize int
LogBackupCount int
}
LogConfig
Click to show internal directories.
Click to hide internal directories.