diff options
author | Valery Piashchynski <[email protected]> | 2021-06-09 20:00:23 +0300 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2021-06-09 20:00:23 +0300 |
commit | ec9b71c5468d8a6f1b999a35dca6e78af55b9895 (patch) | |
tree | a4201534f29c47cb1059627888b675b4f9660589 /plugins/kv/interface.go | |
parent | 8fdf05d4f360a9f6344141b273eab9d6859470e0 (diff) |
- Switch to the new goridge v3.1 which supports PROTOBUF
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'plugins/kv/interface.go')
-rw-r--r-- | plugins/kv/interface.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/kv/interface.go b/plugins/kv/interface.go index 7841f9a2..744c6b51 100644 --- a/plugins/kv/interface.go +++ b/plugins/kv/interface.go @@ -12,7 +12,7 @@ type Storage interface { // MGet loads content of multiple values // Returns the map with existing keys and associated values - MGet(keys ...string) (map[string]interface{}, error) + MGet(keys ...string) (map[string][]byte, error) // Set used to upload item to KV with TTL // 0 value in TTL means no TTL @@ -23,7 +23,7 @@ type Storage interface { // TTL return the rest time to live for provided keys // Not supported for the memcached and boltdb - TTL(keys ...string) (map[string]interface{}, error) + TTL(keys ...string) (map[string]string, error) // Delete one or multiple keys. Delete(keys ...string) error |