Documentation ¶
Index ¶
- Constants
- Variables
- func Pairs(prefix string, pairs api.KVPairs, receiver interface{}, strict bool) error
- type Client
- type KV
- func (kv *KV) Delete(key string) error
- func (kv *KV) Get(key string, value interface{}) (bool, error)
- func (kv *KV) KV() *api.KV
- func (kv *KV) List(prefix string) (api.KVPairs, error)
- func (kv *KV) ListLoose(prefix string, receiver interface{}) error
- func (kv *KV) ListStrict(prefix string, receiver interface{}) error
- func (kv *KV) Set(key string, value interface{}) error
- type Plan
- type Register
- type Watcher
Constants ¶
View Source
const ( Loose = false Strict = true )
Variables ¶
View Source
var ErrNotFound = errors.New("key not found")
Functions ¶
Types ¶
type Register ¶
type Register struct {
// contains filtered or unexported fields
}
func (*Register) Deregister ¶
Click to show internal directories.
Click to hide internal directories.