Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Copy ¶ added in v0.24.3
func Copy[T comparable, S any](s map[T]S) map[T]S
Types ¶
type MapExceeded ¶ added in v0.27.13
type MapExceeded[K, V any] struct { // contains filtered or unexported fields }
func (*MapExceeded[K, V]) Delete ¶ added in v0.27.13
func (t *MapExceeded[K, V]) Delete(k K)
func (*MapExceeded[K, V]) GC ¶ added in v0.27.13
func (t *MapExceeded[K, V]) GC()
func (*MapExceeded[K, V]) Len ¶ added in v0.27.13
func (t *MapExceeded[K, V]) Len() int
func (*MapExceeded[K, V]) Load ¶ added in v0.27.13
func (t *MapExceeded[K, V]) Load(k K) (*V, bool)
func (*MapExceeded[K, V]) Range ¶ added in v0.27.13
func (t *MapExceeded[K, V]) Range(f func(key K, value *V) bool)
func (*MapExceeded[K, V]) Store ¶ added in v0.27.13
func (t *MapExceeded[K, V]) Store(k K, v *V, dur time.Duration)
Click to show internal directories.
Click to hide internal directories.