peer

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewStream added in v0.5.0

func NewStream(p2pHost host.Host, hop *NetHop) (network.Stream, error)

func RConnect added in v0.5.0

func RConnect(p2pHost host.Host, hop *NetHop) error

Types

type NetHop added in v0.3.0

type NetHop struct {
	PeerMAddrs   []string
	RelayMAddrs  []string
	RouterMAddrs []string
}

Jump to

Keyboard shortcuts

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