//
pkg.gl
Category
github.com/Southclaws/samp-servers-api
scraper
package
0.0.0-20210926151154-c84f9946de21
Repository:
https://github.com/southclaws/samp-servers-api.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
9
Dependents
2
Files
234 SLOC
#
Functions
New
New sets up the query daemon and starts the background processes.
#
Structs
Config
Config contains parameters to tweak the scraper performance.
Scraper
Scraper crawls through a list of server addresses and gathers information about them via the legacy query API, it then stores the results as standard Server objects, accessible via the API.
#
Type aliases
QueryFunction
QueryFunction represents a function capable of retreiving server information via the server API.