monitor-player-count/poller-dummy.go
2025-07-14 19:35:50 +02:00

17 lines
274 B
Go

package main
type dummyPoller struct {
}
func (p *dummyPoller) PollPlayerCount() (PlayerCount, error) {
count := PlayerCount{
Playing: 0,
NormalQueue: 0,
PriorityQueue: 0,
}
return count, nil
}
func (p *dummyPoller) String() string {
return "dummy[]"
}