Documentation ¶
Index ¶
- type Etcd
- func (e *Etcd) Client() *clientv3.Client
- func (e *Etcd) Close(_ context.Context) error
- func (e *Etcd) Load(ctx context.Context, path string) (map[string][]byte, error)
- func (e *Etcd) Save(ctx context.Context, path string, data []byte) (err error)
- func (e *Etcd) Watch(ctx context.Context, paths []string, onChange func(data map[string][]byte)) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.