serverscraper

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	MasterServers        []string `json:"master_servers"`
	MasterInterval       int      `json:"master_interval"`
	ServerInterval       int      `json:"server_interval"`
	ActiveServerInterval int      `json:"active_server_interval"`
}

type Scraper

type Scraper struct {
	Config      Config
	ServerIndex serverindex.ServerIndex
	// contains filtered or unexported fields
}

func New

func New(cfg Config) *Scraper

func (*Scraper) Mvdsv

func (scraper *Scraper) Mvdsv() []mvdsv.Mvdsv

func (*Scraper) Qtv

func (scraper *Scraper) Qtv() []qtv.Qtv

func (*Scraper) Qwdfwd

func (scraper *Scraper) Qwdfwd() []qwfwd.Qwfwd

func (*Scraper) ServerByAddress

func (scraper *Scraper) ServerByAddress(address string) (qserver.GenericServer, error)

func (*Scraper) Servers

func (scraper *Scraper) Servers() []qserver.GenericServer

func (*Scraper) Start

func (scraper *Scraper) Start()

func (*Scraper) Stop

func (scraper *Scraper) Stop()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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