events

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2022 License: Apache-2.0 Imports: 1 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BandwidthReport added in v0.10.0

type BandwidthReport struct {
	CaptureTime uint64 // Unix Time
	Peers       map[string]PeerBandwidthUsage
}

type Event

type Event interface {
	// contains filtered or unexported methods
}

type PeerAdded

type PeerAdded struct {
	Port   types.SwitchPortID
	PeerID string
}

type PeerBandwidthUsage added in v0.10.0

type PeerBandwidthUsage struct {
	Protocol struct {
		Rx uint64
		Tx uint64
	}
	Overlay struct {
		Rx uint64
		Tx uint64
	}
}

type PeerRemoved

type PeerRemoved struct {
	Port   types.SwitchPortID
	PeerID string
}

type SnakeDescUpdate

type SnakeDescUpdate struct {
	PeerID string
}

type SnakeEntryAdded added in v0.9.0

type SnakeEntryAdded struct {
	EntryID string
	PeerID  string
}

type SnakeEntryRemoved added in v0.9.0

type SnakeEntryRemoved struct {
	EntryID string
}

type TreeParentUpdate

type TreeParentUpdate struct {
	PeerID string
}

type TreeRootAnnUpdate

type TreeRootAnnUpdate struct {
	Root     string // Root Public Key
	Sequence uint64
	Time     uint64 // Unix Time
	Coords   []uint64
}

Jump to

Keyboard shortcuts

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