popsfetch

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package popsfetch retrieves the live POP list from the ingest service.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fetch

func Fetch(ctx context.Context, url string, timeout time.Duration) ([]config.POP, error)

Fetch retrieves the POP list from url with an overall deadline of timeout. Returns the POPs on success. Returns an error (and nil POPs) on any failure: timeout, non-2xx status, invalid JSON, or unrecognised schema. Callers should fall back to their baked-in list on error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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