README ¶ kvstore is base on libkv. I try to use libkv, but it is not very active. So I write this project. This project's goal is to support etcd v2, v3 and zookeeper, make application easy to switch kv store. Now it is support etcd v2, v3 and zookeeper. Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func AddStore(store string, init Initialize) func NewStore(backend string, addrs []string, options *store.Config) (store.Store, error) type Initialize Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func AddStore ¶ func AddStore(store string, init Initialize) AddStore adds a new store backend to kvstore func NewStore ¶ func NewStore(backend string, addrs []string, options *store.Config) (store.Store, error) NewStore creates an instance of store Types ¶ type Initialize ¶ type Initialize func(addrs []string, options *store.Config) (store.Store, error) Initialize creates a new Store object, initializing the client Source Files ¶ View all Source files kvstore.go Directories ¶ Show internal Expand all Path Synopsis store etcd etcdv3 zookeeper testutils Click to show internal directories. Click to hide internal directories.