Documentation
¶
Index ¶
- type Etcd3
- func (e Etcd3) Find(queryStr string, callback datastore.ResultCallback)
- func (e Etcd3) FindAndUpdate(queryStr string, update interface{}, callback datastore.ResultCallback)
- func (e Etcd3) Remove(queryStr string, callback datastore.NoResultCallback)
- func (e Etcd3) Save(key string, data interface{}, callback datastore.NoResultCallback)
- func (e Etcd3) Update(queryStr string, update interface{}, callback datastore.NoResultCallback)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Etcd3 ¶
Etcd3 is a struct for the etcd v3 driver
func (Etcd3) Find ¶
func (e Etcd3) Find(queryStr string, callback datastore.ResultCallback)
Find finds data in etcd
func (Etcd3) FindAndUpdate ¶
func (e Etcd3) FindAndUpdate(queryStr string, update interface{}, callback datastore.ResultCallback)
FindAndUpdate updates data and returns it from etcd
func (Etcd3) Remove ¶
func (e Etcd3) Remove(queryStr string, callback datastore.NoResultCallback)
Remove removes data in etcd
Click to show internal directories.
Click to hide internal directories.