Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Consul ¶
type Consul struct {
// contains filtered or unexported fields
}
func (*Consul) DeleteTree ¶
type KV ¶
type KV interface {
// func (k *KV) List(prefix string, q *QueryOptions) (KVPairs, *QueryMeta, error)
List(prefix string) (KVPairs, error)
// func (k *KV) Put(p *KVPair, q *WriteOptions) (*WriteMeta, error)
Put(p *KVPair) error
// func (k *KV) Delete(key string, w *WriteOptions) (*WriteMeta, error)
Delete(key string) error
// func (k *KV) DeleteTree(prefix string, w *WriteOptions) (*WriteMeta, error)
DeleteTree(prefix string) error
}
Click to show internal directories.
Click to hide internal directories.