active

package
v0.0.0-...-f0b9b21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Active

type Active[K comparable, V state.Stateful[V]] interface {
	Add(k K, v V)
	Delete(k K)
	Contains(k K) (ok bool)
	Get(k K) (v V, ok bool)
	Map() map[K]V
	Update(k K, v V)
	UpdateFunc(k K, cb func(v V))
	Len() int64
	Close() error
}

func NewActive

func NewActive[K comparable, V state.Stateful[V]]() Active[K, V]

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL