Documentation ¶
Index ¶
- func Create(m model2.Model, opts ...clientv3.OpOption) (bool, error)
- func DefaultETCD()
- func Delete(m model2.Model) (bool, error)
- func Get(m model2.Model) (bool, error)
- func Prefix() string
- func Read(key string) (resp string, err error)
- func Update(m model2.Model) (bool, error)
- func Write(key string, val string) (err error)
- type ETCD
- func (e *ETCD) Create(m model2.Model, opts ...clientv3.OpOption) (ok bool, err error)
- func (e *ETCD) Delete(m model2.Model) (ok bool, err error)
- func (e *ETCD) Get(m model2.Model) (ok bool, err error)
- func (e *ETCD) List(key string) (list []model2.Model, err error)
- func (e *ETCD) Read(key string) (resp string, err error)
- func (e *ETCD) Update(m model2.Model) (ok bool, err error)
- func (e *ETCD) Write(key string, val string) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.