Documentation ¶
Index ¶
- func Connect(addrs ...string) (client.KeysAPI, error)
- func Decode(s string, v interface{}) error
- func Encode(v interface{}) (string, error)
- type EtcdStore
- func (s *EtcdStore) Delete(k string, recursive bool) error
- func (s *EtcdStore) Existed(k string) bool
- func (s *EtcdStore) Expire(k string) error
- func (s *EtcdStore) Get(k string) (string, error)
- func (s *EtcdStore) Iter(rootKey string, depth int, f IterFunc) error
- func (s *EtcdStore) Set(k, v string, expire time.Duration) error
- type IterFunc
- type OpCode
- type Watcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EtcdStore ¶
EtcdStore a Store providing enough operation to manage data
func NewEtcdStore ¶
NewEtcdStore generate a EctdStore
Click to show internal directories.
Click to hide internal directories.