Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetworkCore ¶
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
Click to show internal directories.
Click to hide internal directories.