Documentation ¶
Overview ¶
URTator - Urban Terror server browser and game launcher, written in Go.
Copyright (c) 2016, Stanslav N. a.k.a pztrn (or p0z1tr0n) All rights reserved.
Licensed under Terms and Conditions of GNU General Public License version 3 or any higher. ToDo: put full text of license here.
URTator - Urban Terror server browser and game launcher, written in Go.
Copyright (c) 2016, Stanslav N. a.k.a pztrn (or p0z1tr0n) All rights reserved.
Licensed under Terms and Conditions of GNU General Public License version 3 or any higher. ToDo: put full text of license here.
URTator - Urban Terror server browser and game launcher, written in Go.
Copyright (c) 2016, Stanslav N. a.k.a pztrn (or p0z1tr0n) All rights reserved.
Licensed under Terms and Conditions of GNU General Public License version 3 or any higher. ToDo: put full text of license here.
Index ¶
- Variables
- type Pooler
- func (p *Pooler) Initialize()
- func (p *Pooler) PingOneServer(server_address string)
- func (p *Pooler) PingServers(servers_type string)
- func (p *Pooler) UpdateOneServer(server_address string)
- func (p *Pooler) UpdateServers(servers_type string)
- func (p *Pooler) UpdateSpecificServer(server *datamodels.Server) error
- type Requester
Constants ¶
This section is empty.
Variables ¶
var ( Cache *cache.Cache Eventer *eventer.Eventer )
Functions ¶
This section is empty.
Types ¶
type Pooler ¶
type Pooler struct {
// contains filtered or unexported fields
}
func (*Pooler) Initialize ¶
func (p *Pooler) Initialize()
func (*Pooler) PingOneServer ¶
func (*Pooler) PingServers ¶
Servers pinging pooler. Should be started as goroutine to prevent UI blocking.
func (*Pooler) UpdateOneServer ¶
func (*Pooler) UpdateServers ¶
func (*Pooler) UpdateSpecificServer ¶
func (p *Pooler) UpdateSpecificServer(server *datamodels.Server) error
Updates information about specific server.
type Requester ¶
type Requester struct { // Pooler. Pooler *Pooler // contains filtered or unexported fields }
func (*Requester) UpdateAllServers ¶
func (r *Requester) UpdateAllServers()
Updates information about all available servers from master server and parses it to usable format.
func (*Requester) UpdateFavoriteServers ¶
func (r *Requester) UpdateFavoriteServers()