host

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(hostType P2PHostType, port int) (host.Host, error)

Types

type P2PHostType

type P2PHostType int
const (
	P2PHostTypeHiddenHost P2PHostType = iota
	P2PHostTypeBasicHost
	P2PHostTypeRelayHost
)

Jump to

Keyboard shortcuts

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