updater

package
v0.0.0-...-ddd9f4d Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrHTTPStatusCodeNotOK = errors.New("HTTP status code not OK")

Functions

This section is empty.

Types

type Updater

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

func New

func New(client *http.Client) *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