Documentation
¶
Index ¶
- type MapLock
- func (MapLock) Demo()
- func (r *MapLock) Destroy(key string)
- func (r *MapLock) DestroyAll()
- func (r *MapLock) Lock(key string, timeout time.Duration) (*itemLock, error)
- func (MapLock) New() *MapLock
- func (MapLock) Once() *MapLock
- func (r *MapLock) Store(key string, val any) error
- func (r *MapLock) StoreMany(items map[string]any) error
- func (r *MapLock) Try(key string) 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.