feat: 增加空缓存实现的支持
This commit is contained in:
@@ -18,14 +18,10 @@ import (
|
||||
)
|
||||
|
||||
var (
|
||||
GocacheClient = &Gocache{}
|
||||
GocacheClient cacheAbstract.ICache = &Gocache{}
|
||||
)
|
||||
|
||||
// Gocache 基于gocache的内存缓存
|
||||
//
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
//
|
||||
// Date : 16:51 2024/6/14
|
||||
type Gocache struct{}
|
||||
|
||||
func (g *Gocache) Exist(ctx context.Context, cacheInstanceFlag string, key string) (bool, error) {
|
||||
|
||||
Reference in New Issue
Block a user