online.go 307 B

1234567891011121314
  1. package model
  2. // Online ip and room online.
  3. type Online struct {
  4. Server string `json:"server"`
  5. RoomCount map[string]int32 `json:"room_count"`
  6. Updated int64 `json:"updated"`
  7. }
  8. // Top top sorted.
  9. type Top struct {
  10. RoomID string `json:"room_id"`
  11. Count int32 `json:"count"`
  12. }