net

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 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 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) Reconnect added in v0.10.2

func (c *NodeConnections) Reconnect(t *testing.T, p *d.Ports)

func (*NodeConnections) SendToEachNode added in v0.10.1

func (c *NodeConnections) SendToEachNode(t *testing.T, m proto.Message)

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