Documentation ¶
Index ¶
- type Conn
- func (c *Conn) CompareAndSwap(key, old, nw string, ttl time.Duration) error
- func (c *Conn) Create(key, value string, ttl time.Duration) error
- func (c *Conn) Get(key string) (string, error)
- func (c *Conn) GetAll(key string) (etcd.Nodes, error)
- func (c *Conn) IntervalUpdate(key, value string, interval time.Duration) (stop chan bool)
- func (c *Conn) Set(key, value string, ttl time.Duration) error
- func (c *Conn) Watch(key string) (receiver chan *etcd.Response, stop chan bool)
- func (c *Conn) WatchAll(key string, receiver chan *etcd.Response) (stop chan bool)
- func (c *Conn) WatchByBuff(key string, buffer int) (receiver chan *etcd.Response, stop chan bool)
- func (c *Conn) WatchByChan(key string, receiver chan *etcd.Response) (stop chan bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Conn ¶
func InitClient ¶
func (*Conn) CompareAndSwap ¶
func (*Conn) IntervalUpdate ¶
func (*Conn) WatchByBuff ¶
Click to show internal directories.
Click to hide internal directories.