darkstar_query_go

package module
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2021 License: MIT Imports: 7 Imported by: 0

README

Darkstar-query-go

Replicates the functionality in Starsiege to query Master Servers and Game Servers

Designed to report back JSON

There are likely better and more idiomatic ways of approaching this in golang, I'm just doing the best I can

TODO:

Documentation - currently this project has a minimal amount of documentation, but this will change in future revisions

Work out necessary technique to read the compressed GameInfoResponse packet

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Masters

func Masters(options *protocol.Options) ([]*master.Master, map[string]*protocol.Server, []error)

func NewOptions added in v1.1.0

func NewOptions() protocol.Options

func Servers

func Servers(options *protocol.Options) ([]*server.PingInfo, []error)

Types

This section is empty.

Directories

Path Synopsis
example

Jump to

Keyboard shortcuts

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