peer

package
v0.13.2 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2024 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 ProxyConnect added in v0.12.0

func ProxyConnect(p2pHost host.Host, hop *NetHop) 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