networkcore

package module
v0.0.0-...-3863e02 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NetworkCore

type NetworkCore struct {
	core.Host
}

func NewNetworkCore

func NewNetworkCore(keyPath string, listenAddrs []string) (*NetworkCore, error)

NewNetworkCore creates a new NetworkCore keyPath is the path to the key file listenAddrs is a list of addresses to listen on e.g. /ip4/0.0.0.0/tcp/0 or /ip6/::/udp/0/quic

Jump to

Keyboard shortcuts

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