seederclient

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2025 License: ISC Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNoServers = errors.New("seeder returned no master servers")

Functions

func QuerySeeder

func QuerySeeder(ctx context.Context, apiURL string, dialFunc DialFunc) (string, error)

QuerySeeder queries a BR seeder service and returns the address of an active BR server instance.

Types

type DialFunc

type DialFunc func(context.Context, string, string) (net.Conn, error)

Jump to

Keyboard shortcuts

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