Documentation
¶
Index ¶
- type Etcd
- func (e *Etcd) Delete(key string, oldDataCallback ...func(k, v []byte))
- func (e *Etcd) Get(key string, f func(k, v []byte))
- func (e *Etcd) KeepOnline(ttl int64, callback func() (string, string, bool))
- func (e *Etcd) KeepOnlineEx(key, value string, ttl int64)
- func (e *Etcd) Put(key, value string, ttl ...int64)
- func (e *Etcd) Watch(key string, putCallback func(k, v []byte), delCallback func([]byte))
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Etcd ¶
type Etcd struct {
// contains filtered or unexported fields
}
func (*Etcd) KeepOnline ¶
func (*Etcd) KeepOnlineEx ¶
Click to show internal directories.
Click to hide internal directories.