You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- package egg_system_rules
-
- import (
- "code.fnuoos.com/EggPlanet/egg_system_rules.git/md"
- "code.fnuoos.com/EggPlanet/egg_system_rules.git/utils/cache"
- )
-
- func Init(redisAddr string) (err error) {
- if redisAddr != "" {
- cache.NewRedis(redisAddr)
- }
- _, err = cache.SelectDb(md.RedisDataBase)
- return
- }
|