FluorineDog 74c0e3542c Remove tbb
Signed-off-by: FluorineDog <guilin.gou@zilliz.com>
2020-09-18 15:44:09 +08:00

13 lines
298 B
Go

package kv
import "go.etcd.io/etcd/clientv3"
type Base interface {
Load(key string) (string, error)
Save(key, value string) error
Remove(key string) error
Watch(key string) clientv3.WatchChan
WatchWithPrefix(key string) clientv3.WatchChan
LoadWithPrefix(key string) ( []string, []string)
}