relaying

package
v0.0.0-...-dbf2142 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServiceName = "PureGamer.relay"
)

Variables

This section is empty.

Functions

func OpenRelay

func OpenRelay(ctx context.Context, n *model.Node, gameId string, relayNodes []string) (network.Stream, error)

func Register

func Register(node *model.Node, exits *exit.Exit) error

Register /PureGamer/relay/<version>/game/<gameid>/next/<peerid>/next/<peerid>/...

Types

This section is empty.

Jump to

Keyboard shortcuts

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