Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Store ¶
type Store interface { Watch(path string, rateLimit time.Duration) chan struct{} Mkdir(dir string, ttl time.Duration) error GetTree(dir string) (Tree, error) Get(path string) (string, error) Delete(path string) error Create(path, value string, ttl time.Duration) error Set(path, value string, ttl time.Duration) error Refresh(path, value string, ttl time.Duration) error RefreshDir(dir string, ttl time.Duration) error }
A Store implements a consistent distributed key value store similar to Etcd.
Click to show internal directories.
Click to hide internal directories.