diff options
author | Valery Piashchynski <[email protected]> | 2021-06-25 11:47:24 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-06-25 11:47:24 +0300 |
commit | 09041fe7499be1929aaffaa113f93f6853564c09 (patch) | |
tree | a608df4250439cf9a1511f9e00ff7af6a033579d /common | |
parent | 64d41f6d87bb8002e700cdcddb5a3a241e4a2a7d (diff) | |
parent | e9249c7896331bab97a18a7ee0db17803fdd31fb (diff) |
Merge remote-tracking branch 'origin/master' into feature/jobs_plugin
Diffstat (limited to 'common')
-rw-r--r-- | common/kv/interface.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/common/kv/interface.go b/common/kv/interface.go index ffdbbe62..5736a6a7 100644 --- a/common/kv/interface.go +++ b/common/kv/interface.go @@ -22,9 +22,12 @@ type Storage interface { MExpire(items ...*kvv1.Item) error // TTL return the rest time to live for provided keys - // Not supported for the memcached and boltdb + // Not supported for the memcached TTL(keys ...string) (map[string]string, error) + // Clear clean the entire storage + Clear() error + // Delete one or multiple keys. Delete(keys ...string) error } |