mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-03 16:38:31 +00:00
more /stats updates
This commit is contained in:
parent
c55b5fb277
commit
56b80078e5
1 changed files with 4 additions and 2 deletions
|
@ -7,20 +7,22 @@ import (
|
|||
)
|
||||
|
||||
type StatsData struct {
|
||||
Version int
|
||||
|
||||
CurrentClientCount int64
|
||||
|
||||
ClientConnectsTotal int64
|
||||
ClientDisconnectsTotal int64
|
||||
|
||||
DisconnectCodes map[string]int64
|
||||
DisconnectReasons map[string]int64
|
||||
|
||||
CommandsIssuedTotal int64
|
||||
CommandsIssuedMap map[Command]int64
|
||||
|
||||
MessagesSent int64
|
||||
|
||||
Version int
|
||||
// DisconnectReasons is at the bottom because it has indeterminate size
|
||||
DisconnectReasons map[string]int64
|
||||
}
|
||||
|
||||
const StatsDataVersion = 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue