16 lines
294 B
Go
16 lines
294 B
Go
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
|
|
}
|