router

package
v0.0.0-...-c1e9cd8 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 2021 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddItem

func AddItem(to uint64, next uint64, delay100us uint16, conn *websocket.Conn)

func DelItem

func DelItem(to uint64)

func IsIn

func IsIn(ip uint64) bool

Types

type TransItem

type TransItem struct {
	To         uint64
	Next       uint64
	Delay100us uint16
	Conn       *websocket.Conn
}

func AllNeighbors

func AllNeighbors() []*TransItem

func NearMe

func NearMe() []*TransItem

func NextHop

func NextHop(to uint64) *TransItem

Jump to

Keyboard shortcuts

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