Documentation ¶
Index ¶
- Constants
- type Storage
- func (s *Storage) Delete(ctx context.Context, key string, opts ...v3.OpOption) (resp *v3.DeleteResponse, err error)
- func (s *Storage) Get(ctx context.Context, key string, opts ...v3.OpOption) (resp *v3.GetResponse, err error)
- func (s *Storage) NewElection(key string) (*concurrency.Election, error)
- func (s *Storage) NewMutex(key string) (*concurrency.Mutex, error)
- func (s *Storage) Put(ctx context.Context, key, value string, opts ...v3.OpOption) (resp *v3.PutResponse, err error)
Constants ¶
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.