commons

package
v0.0.0-...-0005329 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2019 License: MIT Imports: 6 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckFatalOvidErrorf

func CheckFatalOvidErrorf(err error, s string, a ...interface{})

CheckFatalOvidErrorf prints the error messange and kills the entire program if an error is detected

func FatalOvidErrorf

func FatalOvidErrorf(s string, a ...interface{})

FatalOvidErrorf prints the error messange and kills the entire program

Types

type BoxID

type BoxID string

BoxID is the unique, canonical address representing each box

func ParseBoxAddr

func ParseBoxAddr(s string) BoxID

ParseBoxAddr parses string s into a canonical box address

type PortNum

type PortNum uint16

PortNum is a type representing an IP port on a host

type ProcessID

type ProcessID uint16

ProcessID is a type representing the physical and virtual ID's of an agent

type Route

type Route struct {
	DestID   ProcessID
	DestPort PortNum
}

Route is a tuple struct representing a route

Jump to

Keyboard shortcuts

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