network

package
v1.1.1-0...-495e22c Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2019 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DialPeerAtAddress

func DialPeerAtAddress(node *noise.Node, address string) (*noise.Peer, error)

func InitNetwork

func InitNetwork(host string, port uint, peerAddrs []string, doRelay bool, doBroadcast bool) (node *noise.Node, relayCh chan relay.Message, broadcastCh chan broadcast.Message)

Types

This section is empty.

Jump to

Keyboard shortcuts

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