modhash

package
v0.0.0-...-bc1b0c2 Latest Latest
Warning

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

Go to latest
Published: Sep 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