Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigManager ¶
type ConfigManager struct {
Cfg *ini.File
}
ConfigManager 配置文件读取
func GetConfigManageHandle ¶
func GetConfigManageHandle(cfg *ini.File) *ConfigManager
GetConfigManageHandle 获取Redis连接服务
func (ConfigManager) ReadBool ¶
func (cm ConfigManager) ReadBool(key string) bool
ReadBool 读取配置文件中的Bool值
func (ConfigManager) ReadSection ¶
func (cm ConfigManager) ReadSection(group string) *ini.Section
ReadSection 读取配置文件中节点
type RedisManager ¶
RedisManager redis操作工具
func GetRedisManageHandle ¶
func GetRedisManageHandle(db *redis.Client) *RedisManager
GetRedisManageHandle 获取Redis连接服务
Click to show internal directories.
Click to hide internal directories.