Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Config = struct { // 系统 ListenHost string ListenPort int32 ApiRootPath string // 数据库 DbHost string DbPort int32 DbUser string DbPwd string DbName string // 日志 IsSaveLog bool LogPath string LogLevel logrus.Level // 基础验证 VerifyCode string // 统计天数 ChartDay int64 }{ ListenHost: "127.0.0.1", ListenPort: 8002, DbHost: "127.0.0.1", DbPort: 3306, DbUser: "root", DbPwd: "test123", DbName: "wow_hong", IsSaveLog: true, LogPath: "./logs/log.txt", LogLevel: logrus.DebugLevel, VerifyCode: "testcode", ChartDay: 20, }
View Source
var (
Log *logrus.Logger
)
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.