network

package
v0.4.2-rc2 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2020 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ZDBIface is the name of the interface used in the 0-db network namespace
	ZDBIface = "zdb0"
)

Variables

This section is empty.

Functions

func CreatePublicNS

func CreatePublicNS(iface *types.PubIface, nodeID pkg.Identifier) error

CreatePublicNS creates a public namespace in a node

func NewNetworker

func NewNetworker(identity pkg.IdentityManager, tnodb client.Directory, storageDir string, ndmz ndmz.DMZ, ygg *yggdrasil.Server) (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.

Jump to

Keyboard shortcuts

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