Documentation
¶
Index ¶
Constants ¶
View Source
const ( // MetaWeight meta weight MetaWeight = "weight" // MetaOffline meta offline MetaOffline = "offline" // MetaIPAddrs meta public ip addrs MetaIPAddrs = "ip_addrs" // MetaIPCount meta ip count MetaIPCount = "ip_count" // MetaConnCount meta conn count MetaConnCount = "conn_count" // PlatformWeb platform web PlatformWeb = "web" )
Variables ¶
This section is empty.
Functions ¶
func DecodeRoomKey ¶
DecodeRoomKey decode room key.
func EncodeRoomKey ¶
EncodeRoomKey encode a room key.
Types ¶
type Online ¶
type Online struct { Server string `json:"server"` RoomCount map[string]int32 `json:"room_count"` Updated int64 `json:"updated"` }
Online ip and room online.
Click to show internal directories.
Click to hide internal directories.