summaryrefslogtreecommitdiff
path: root/pkg/cache/interface.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2025-03-29 14:09:42 +0300
committerGrail Finder <wohilas@gmail.com>2025-03-29 14:09:42 +0300
commit7a3a73f2a7f2498c61c71f3242a0fcd6c56dfb69 (patch)
tree04b1999175a76af406ddcf11469280d607242d81 /pkg/cache/interface.go
parent3921db6166e2da895257496bb76dd115556699d3 (diff)
Fix: code cleaning
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)
-}