Documentation ¶
Index ¶
- type Locker
- type Store
- func (_m *Store) AtomicDelete(key string, previous *dynalock.KVPair) (bool, error)
- func (_m *Store) AtomicPut(key string, options ...dynalock.WriteOption) (bool, *dynalock.KVPair, error)
- func (_m *Store) Delete(key string) error
- func (_m *Store) Exists(key string, options ...dynalock.ReadOption) (bool, error)
- func (_m *Store) Get(key string, options ...dynalock.ReadOption) (*dynalock.KVPair, error)
- func (_m *Store) List(prefix string, options ...dynalock.ReadOption) ([]*dynalock.KVPair, error)
- func (_m *Store) NewLock(key string, options ...dynalock.LockOption) (dynalock.Locker, error)
- func (_m *Store) Put(key string, options ...dynalock.WriteOption) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Locker ¶
Locker is an autogenerated mock type for the Locker type
type Store ¶
Store is an autogenerated mock type for the Store type
func (*Store) AtomicDelete ¶
AtomicDelete provides a mock function with given fields: key, previous
func (*Store) AtomicPut ¶
func (_m *Store) AtomicPut(key string, options ...dynalock.WriteOption) (bool, *dynalock.KVPair, error)
AtomicPut provides a mock function with given fields: key, options
Click to show internal directories.
Click to hide internal directories.