events

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 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 Event

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

type PeerAdded

type PeerAdded struct {
	Port   types.SwitchPortID
	PeerID string
}

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