Files
go-common/app/service/main/broadcast/model/online.go
2019-04-22 18:49:16 +08:00

15 lines
307 B
Go

package model
// Online ip and room online.
type Online struct {
Server string `json:"server"`
RoomCount map[string]int32 `json:"room_count"`
Updated int64 `json:"updated"`
}
// Top top sorted.
type Top struct {
RoomID string `json:"room_id"`
Count int32 `json:"count"`
}