Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { Get(key string) (*store.KVPair, error) Put(key string, value []byte, options *store.WriteOptions) error Delete(key string) error Exists(key string) (bool, error) List(prefix string) ([]*store.KVPair, error) DeleteTree(dir string) error Watch(key string, stopCh <-chan struct{}) (<-chan *store.KVPair, error) WatchTree(dir string, stopCh <-chan struct{}) (<-chan []*store.KVPair, error) NewLock(key string, options *store.LockOptions) (store.Locker, error) AtomicPut(key string, value []byte, previous *store.KVPair, options *store.WriteOptions) (bool, *store.KVPair, error) AtomicDelete(key string, previous *store.KVPair) (bool, error) }
Click to show internal directories.
Click to hide internal directories.