Documentation
¶
Index ¶
- type Funnel
- type Group
- type Limiter
- type Lock
- type Map
- func (v *Map[K, V]) Del(key K)
- func (v *Map[K, V]) Extract(key K) (val V, ok bool)
- func (v *Map[K, V]) Get(key K) (val V, ok bool)
- func (v *Map[K, V]) Keys() []K
- func (v *Map[K, V]) Reset()
- func (v *Map[K, V]) Set(key K, val V)
- func (v *Map[K, V]) Size() int
- func (v *Map[K, V]) Yield() iter.Seq2[K, V]
- type Slice
- type Switch
- type XLock
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Funnel ¶ added in v0.3.1
type Funnel[T comparable] interface { Valve(name T, call func()) }
func NewFunnel ¶ added in v0.3.1
func NewFunnel[T comparable]() Funnel[T]
type Group ¶
type Map ¶ added in v0.3.1
type Map[K comparable, V any] struct { // contains filtered or unexported fields }
Click to show internal directories.
Click to hide internal directories.