19 lines
327 B
Go
19 lines
327 B
Go
package main
|
|
|
|
import "git.1e99.eu/1e99/2b2t/models"
|
|
|
|
type dummyPoller struct {
|
|
}
|
|
|
|
func (p *dummyPoller) PollPlayerCount() (models.PlayerCount, error) {
|
|
count := models.PlayerCount{
|
|
Playing: 0,
|
|
NormalQueue: 0,
|
|
PriorityQueue: 0,
|
|
}
|
|
return count, nil
|
|
}
|
|
|
|
func (p *dummyPoller) String() string {
|
|
return "dummy[]"
|
|
}
|