peer

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 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

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

func ProxyConnect

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

func RConnect

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

Types

type NetHop

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