endpointstates

package
v0.0.0-...-f34d91d Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2022 License: Apache-2.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 EndpointState

type EndpointState struct {
	// contains filtered or unexported fields
}

func (*EndpointState) NewSequenceId

func (e *EndpointState) NewSequenceId() int32

func (*EndpointState) Reset

func (e *EndpointState) Reset()

type Manager

type Manager struct {
	// contains filtered or unexported fields
}

func NewManager

func NewManager() *Manager

func (*Manager) Clean

func (c *Manager) Clean()

func (*Manager) CleanDead

func (c *Manager) CleanDead()

func (*Manager) Get

func (c *Manager) Get(addr net.UDPAddr) (*EndpointState, error)

func (*Manager) GetOrNew

func (c *Manager) GetOrNew(addr net.UDPAddr) *EndpointState

Jump to

Keyboard shortcuts

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