network

package
v0.5.5 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2022 License: Apache-2.0 Imports: 34 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// PubIface is pub interface name of the interface used in the 0-db network namespace
	PubIface = "eth0"
	// ZDBYggIface is ygg interface name of the interface used in the 0-db network namespace
	ZDBYggIface = "ygg0"
)

Variables

View Source
var (
	//NetworkSchemaLatestVersion last version
	NetworkSchemaLatestVersion = semver.MustParse("0.1.0")
)

Functions

func NewNetworker

func NewNetworker(identity *stubs.IdentityManagerStub, ndmz ndmz.DMZ, ygg *yggdrasil.YggServer) (pkg.Networker, error)

NewNetworker create a new pkg.Networker that can be used over zbus

func NodeIDv1

func NodeIDv1() (string, error)

NodeIDv1 returns the node ID as it was calculated in 0-OS v1

Types

This section is empty.

Directories

Path Synopsis
Package options abstract setting common networking sys flags on the selected namespaces
Package options abstract setting common networking sys flags on the selected namespaces

Jump to

Keyboard shortcuts

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