multimap

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MultiMap

type MultiMap struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

func NewMultiMap

func NewMultiMap() *MultiMap

func (*MultiMap) Clear

func (m *MultiMap) Clear(mk string)

func (*MultiMap) Del

func (m *MultiMap) Del(mk string, item *list.Element)

func (*MultiMap) GetBody

func (m *MultiMap) GetBody(mk string) (*list.List, bool)

func (*MultiMap) Pop

func (m *MultiMap) Pop(mk string) (*list.Element, bool)

func (*MultiMap) Push

func (m *MultiMap) Push(mk string, pkt packet.Generic)

func (*MultiMap) Reset

func (m *MultiMap) Reset()

Jump to

Keyboard shortcuts

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