peers

package
v0.0.0-...-a441d8e Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2023 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 Peer

type Peer struct {
	IP     net.IP
	Port   uint16
	PeerID [utils.PeerIDLen]byte
}

func Unmarshal

func Unmarshal(peersBin []byte, isIpv4 bool) ([]Peer, error)

func (Peer) String

func (p Peer) String() string

Jump to

Keyboard shortcuts

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