net

package
v0.10.5 Latest Latest
Warning

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

Go to latest
Published: May 23, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeConnections added in v0.10.1

type NodeConnections struct {
	// contains filtered or unexported fields
}

func NewNodeConnections added in v0.10.1

func NewNodeConnections(p *d.Ports) (NodeConnections, error)

func (*NodeConnections) Close added in v0.10.1

func (c *NodeConnections) Close(t *testing.T)

func (*NodeConnections) SendToNodes added in v0.10.3

func (c *NodeConnections) SendToNodes(t *testing.T, m proto.Message, scala bool)

type OutgoingPeer

type OutgoingPeer struct {
	// contains filtered or unexported fields
}

func NewConnection

func NewConnection(declAddr proto.TCPAddr, address string, ver proto.Version, wavesNetwork string) (op *OutgoingPeer, err error)

func (*OutgoingPeer) Close

func (a *OutgoingPeer) Close() error

func (*OutgoingPeer) SendMessage

func (a *OutgoingPeer) SendMessage(m proto.Message) error

Jump to

Keyboard shortcuts

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