1
0
Fork 0
mirror of https://github.com/anyproto/any-sync.git synced 2025-06-08 05:57:03 +09:00
any-sync/app/debugstat/models.go
2023-11-21 17:11:51 +01:00

16 lines
342 B
Go

package debugstat
type StatValue struct {
Key string `json:"key"`
Value any `json:"value"`
}
type StatType struct {
Type string `json:"type"`
Values []StatValue `json:"values,omitempty"`
Aggregate any `json:"aggregate,omitempty"`
}
type StatSummary struct {
Stats []StatType `json:"stat_types,omitempty"`
}