modhash

package
v1.4.34 Latest Latest
Warning

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

Go to latest
Published: May 13, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModHash

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

func New

func New(enableWeight bool) *ModHash

func (*ModHash) Add

func (m *ModHash) Add(ep endpoint.Endpoint) error

func (*ModHash) Refresh

func (m *ModHash) Refresh(eps []endpoint.Endpoint)

func (*ModHash) Remove

func (m *ModHash) Remove(ep endpoint.Endpoint) error

func (*ModHash) Select

func (m *ModHash) Select(msg selector.Message) (endpoint.Endpoint, error)

Jump to

Keyboard shortcuts

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