pollers

package
v0.0.228 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2025 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IdlePoller

type IdlePoller struct {
}

func (*IdlePoller) Poll

func (p *IdlePoller) Poll() error

func (*IdlePoller) PollRate

func (p *IdlePoller) PollRate() time.Duration

type Manager

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

func NewManager

func NewManager(ctx context.Context) *Manager

func (*Manager) Start

func (m *Manager) Start()

func (*Manager) Stop

func (m *Manager) Stop()

type NeighborhoodPoller

type NeighborhoodPoller struct {
}

func (*NeighborhoodPoller) Poll

func (p *NeighborhoodPoller) Poll() error

func (*NeighborhoodPoller) PollRate

func (p *NeighborhoodPoller) PollRate() time.Duration

type Poller

type Poller interface {
	Poll() error
	PollRate() time.Duration
}

type Route

type Route struct {
	Destination   *net.IPNet
	Gateway       net.IP
	OutboundIface *netlink.Link
}

type RoutePoller

type RoutePoller struct {
}

func (*RoutePoller) Poll

func (p *RoutePoller) Poll() error

func (*RoutePoller) PollRate

func (p *RoutePoller) PollRate() time.Duration

Jump to

Keyboard shortcuts

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