multidict

package
v1.11.0-cni-plu...-ddfc3b1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0, Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Multidict

type Multidict[K comparable, V comparable] map[K]set.Set[V]

func New

func New[K comparable, V comparable]() Multidict[K, V]

func (Multidict[K, V]) Contains

func (md Multidict[K, V]) Contains(key K, value V) bool

func (Multidict[K, V]) ContainsKey

func (md Multidict[K, V]) ContainsKey(key K) bool

func (Multidict[K, V]) Discard

func (md Multidict[K, V]) Discard(key K, value V)

func (Multidict[K, V]) DiscardKey

func (md Multidict[K, V]) DiscardKey(k K)

func (Multidict[K, V]) Iter

func (md Multidict[K, V]) Iter(key K, f func(value V))

func (Multidict[K, V]) IterKeys

func (md Multidict[K, V]) IterKeys(f func(key K))

func (Multidict[K, V]) Len

func (md Multidict[K, V]) Len() int

func (Multidict[K, V]) Put

func (md Multidict[K, V]) Put(key K, value V)

Jump to

Keyboard shortcuts

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