updater

package
v0.0.0-...-9933dd3 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2025 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrLocationTableNotFound = errors.New("HTML location table node not found")
	ErrTbodyNotFound         = errors.New("HTML tbody node not found")
	ErrExtractOpenVPNURL     = errors.New("failed extracting OpenVPN URL")
)
View Source
var ErrExtractHostnameFromURL = errors.New("cannot extract hostname from url")

Functions

This section is empty.

Types

type Updater

type Updater struct {
	// contains filtered or unexported fields
}

func New

func New(client *http.Client, warner common.Warner,
	parallelResolver common.ParallelResolver,
) *Updater

func (*Updater) FetchServers

func (u *Updater) FetchServers(ctx context.Context, minServers int) (
	servers []models.Server, err error,
)

Jump to

Keyboard shortcuts

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