Documentation ¶
Index ¶
- Constants
- type Etcd
- func (e *Etcd) Delete(ctx context.Context, keyPath string) error
- func (e *Etcd) Get(ctx context.Context, keyPath string) (string, error)
- func (e *Etcd) GetBytes(ctx context.Context, keyPath string) ([]byte, error)
- func (e *Etcd) GetClient() *client3.Client
- func (e *Etcd) GetList(ctx context.Context, keyPath string) ([]*Item, error)
- func (e *Etcd) Put(ctx context.Context, keyPath, value string) error
- type Item
Constants ¶
View Source
const TIMEOUT = 1000 * time.Millisecond
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.