This commit is contained in:
2026-04-13 13:14:14 +08:00
parent 35b7fad8ab
commit 754a91e5b3
6 changed files with 231 additions and 9 deletions

15
internal/impl.go Normal file
View File

@@ -0,0 +1,15 @@
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
}