mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-02 11:59:00 +08:00
5bcabffdaf
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
14 lines
380 B
Go
14 lines
380 B
Go
package kv
|
|
|
|
type Base interface {
|
|
Load(key string) (string, error)
|
|
MultiLoad(keys []string) ([]string, error)
|
|
LoadWithPrefix(key string) ([]string, []string, error)
|
|
Save(key, value string) error
|
|
MultiSave(kvs map[string]string) error
|
|
Remove(key string) error
|
|
MultiRemove(keys []string) error
|
|
MultiSaveAndRemove(saves map[string]string, removals []string) error
|
|
Close()
|
|
}
|