update: cache add raw client api
This commit is contained in:
3
database/cache/cache.go
vendored
3
database/cache/cache.go
vendored
@ -52,6 +52,9 @@ type Cache interface {
|
||||
GetDel(ctx context.Context, key string) ([]byte, error)
|
||||
GetDelScan(ctx context.Context, key string) Scanner
|
||||
Close()
|
||||
// Client return raw client
|
||||
// !!! dangerous api
|
||||
Client() any
|
||||
}
|
||||
|
||||
var (
|
||||
|
Reference in New Issue
Block a user