net

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2022 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(t *testing.T) NodeConnections

func (*NodeConnections) Close added in v0.10.1

func (c *NodeConnections) Close()

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) (*OutgoingPeer, 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