This commit is contained in:
richboo111
2024-02-06 14:42:51 +08:00
parent 0333466b01
commit 2e33b86a7b
4 changed files with 273 additions and 42 deletions

View File

@@ -12,6 +12,7 @@ type ICacher interface {
GetAs(key string, ptr interface{}) error
Keys(prefix string) ([]string, error)
GetString(key string) string
FlushDB() error
Incr(key string) error
LRange(key string) (retVal []string)