routes

package
v1.15.22 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: MIT Imports: 1 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Route

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

Route describes a single route in the routing table.

type RoutingTable

type RoutingTable struct {
	Routes []Route
}

RoutingTable describes the routing table on the node.

func (*RoutingTable) GetRoutingTable

func (rt *RoutingTable) GetRoutingTable() error

GetRoutingTable retireves routing table in the node.

func (*RoutingTable) RestoreRoutingTable

func (rt *RoutingTable) RestoreRoutingTable() error

RestoreRoutingTable pushes the saved route.

Jump to

Keyboard shortcuts

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