internal

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2023 License: GPL-3.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientMain

func ClientMain()

ClientMain is the main() function for the client program

func DiscoverLocalGateway added in v0.1.2

func DiscoverLocalGateway(YggdrasilInterface string) (dev string, ip net.IP, err error)

DiscoverLocalGateway returns the device and IP of the default network gateway borrowed from https://github.com/jackpal/gateway (3-clause BSD) changed to return the gateway device as well

func Fatal

func Fatal(err interface{})

Fatal error. Do not call this from the server code after the initialization phase.

func ServerMain

func ServerMain()

ServerMain is the main() function for the server program

func ValidYggdrasilAddress

func ValidYggdrasilAddress(address string) bool

ValidYggdrasilAddress tests if an address is a valid Yggdrasil IPv6 address in the 200::/7 block

Types

This section is empty.

Jump to

Keyboard shortcuts

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