Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct { /* error code */ Code int32 `json:"code,omitempty"` /* error message description */ Message string `json:"message,omitempty"` }
Error error
swagger:model Error
type Game ¶
type Game struct { /* gamer1 */ Gamer1 *Gamer `json:"gamer1,omitempty"` /* gamer2 */ Gamer2 *Gamer `json:"gamer2,omitempty"` /* 联赛赛季uuid */ Suuid string `json:"suuid,omitempty"` /* 比赛开始时间 */ Timestamp int64 `json:"timestamp,omitempty"` /* 比赛标识id */ UUID string `json:"uuid,omitempty"` }
Game game
swagger:model Game
type Gamer ¶
type Gamer struct { /* 对阵人的图片, url或者相对路径 */ Logo string `json:"logo,omitempty"` /* 对阵人名称, 如 热火、骑士、勇士 */ Name string `json:"name,omitempty"` /* 对阵人id */ UUID string `json:"uuid,omitempty"` }
Gamer gamer
swagger:model Gamer
type League ¶
type League struct { /* League desc */ Desc string `json:"desc,omitempty"` /* League logo, maybe a url, maybe a file path */ Logo string `json:"logo,omitempty"` /* League name, such as NBA, 西甲, 英超 */ Name string `json:"name,omitempty"` /* identity of League */ UUID string `json:"uuid,omitempty"` }
League league
swagger:model League
Click to show internal directories.
Click to hide internal directories.