libkv
libkv copied to clipboard
Distributed key/value store abstraction library
I think it would be useful to have a simple mapping function for each store to allow access to arbitrary keys. This is especially useful for stores like consul where...
Right now, Lock() block until it succeeds. We need a way to abort. Consul for instance provides a way to pass a `stopCh` - when closed, `Lock` exits immediately.
We need a way to watch a directory that doesn't exist yet. - This seems to work with the Consul backend. - On etcd, if the directory doesn't exist, it...
The error return on `Watch`/`WatchTree` is virtually useless as we only return (without error) on `Get`/`List` failures for `etcd` and `consul`. This should be made more consistent across the 3...