Files

16 lines
294 B
Go
Raw Permalink Normal View History

2026-04-13 13:14:14 +08:00
package internal
import (
"git.apinb.com/bsm-sdk/core/cache/redis"
"git.apinb.com/bsm-sdk/core/with"
)
var (
CacheUrl = "redis://null:Weidong2023~!@139.224.247.176:19379/0"
RedisService *redis.RedisClient
)
func NewImpl() {
RedisService = with.RedisCache(CacheUrl) // redis cache
}