net

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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
JackTT - Gopher 🇻🇳