Documentation
¶
Index ¶
- func DemoMapLock()
- type MapLock
- func (my *MapLock) Destroy(key string)
- func (my *MapLock) DestroyAll()
- func (my *MapLock) Lock(key string, timeout time.Duration) (*itemLock, error)
- func (*MapLock) New() *MapLock
- func (*MapLock) Once() *MapLock
- func (my *MapLock) Set(key string, val any) error
- func (my *MapLock) SetMany(items map[string]any) error
- func (my *MapLock) Try(key string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DemoMapLock ¶
func DemoMapLock()
Types ¶
Click to show internal directories.
Click to hide internal directories.