network

package
v0.0.0-...-07c2c16 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2022 License: LGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Network

type Network struct {
	P2P    p2p.P2P    `yaml:"p2p"`
	P2PRPC p2p.P2PRPC `yaml:"p2p_rpc"`
	// contains filtered or unexported fields
}

func CreateNetwork

func CreateNetwork(dataDir string, cmdChan *chan common.Cmd, config *Network) Network

func (*Network) StartP2PHost

func (n *Network) StartP2PHost()

func (*Network) StartSocketClient

func (n *Network) StartSocketClient() net.Conn

func (*Network) StartSocketListener

func (n *Network) StartSocketListener()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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