summaryrefslogtreecommitdiff
path: root/pkg/cache/interface.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/cache/interface.go')
-rw-r--r--pkg/cache/interface.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/pkg/cache/interface.go b/pkg/cache/interface.go
deleted file mode 100644
index 606f50f..0000000
--- a/pkg/cache/interface.go
+++ /dev/null
@@ -1,9 +0,0 @@
-package cache
-
-type Cache interface {
- Get(key string) ([]byte, error)
- Set(key string, value []byte)
- Expire(key string, exp int64)
- GetAll() (resp map[string][]byte)
- RemoveKey(key string)
-}