Documentation ¶
Index ¶
- type EtcdConfig
- type MyEtcd
- func (myetcd *MyEtcd) Exist(key string) bool
- func (myetcd *MyEtcd) Get(key string) string
- func (myetcd *MyEtcd) GetAll(key string) (*client.Node, error)
- func (myetcd *MyEtcd) IsDir(key string) error
- func (myetcd *MyEtcd) IsKeyNotFound(e error) bool
- func (myetcd *MyEtcd) List(key string) (client.Nodes, error)
- func (myetcd *MyEtcd) ListR(key string) (client.Nodes, error)
- func (myetcd *MyEtcd) Rm(key string) error
- func (myetcd *MyEtcd) RmAll(key string) error
- func (myetcd *MyEtcd) Set(key, value string) error
- func (myetcd *MyEtcd) SetDir(key string) error
- func (myetcd *MyEtcd) StrictGet(key string) (string, error)
- func (myetcd *MyEtcd) StrictRm(key string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MyEtcd ¶
type MyEtcd struct { Config EtcdConfig Client client.KeysAPI }
func (*MyEtcd) IsKeyNotFound ¶
Click to show internal directories.
Click to hide internal directories.