Documentation ¶
Index ¶
- func NewETCDStorage(cfg clientv3.Config) (storage.Interface, error)
- type ETCDStorage
- func (e *ETCDStorage) Close() error
- func (e *ETCDStorage) Delete(ctx context.Context, prefix string, key string) error
- func (e *ETCDStorage) Get(ctx context.Context, prefix string, key string) ([]byte, error)
- func (e *ETCDStorage) GetAll(ctx context.Context, prefix string) ([][]byte, error)
- func (e *ETCDStorage) Put(ctx context.Context, prefix string, key string, value []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.