Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Id uint // 服务器id Name string // 服务器名称 Addr string // 服务器监听地址 Schemes string // 服务器监听方式 http/https Debug bool // 是否启动debug LogPath string // 日志保存文件路径 CacheSwitch string // 使用何种缓存引擎 可用 default/redis default为默认内存缓存 // contains filtered or unexported fields }
func (*Config) GetLogLevel ¶
Click to show internal directories.
Click to hide internal directories.