Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct { Match message.Match // 比赛(外部接口获取的参数) LastCommentId string // (内部接口获取,用于比对直播数据最后一次消息的id) LastCommentTime string Th *time.Ticker ThQueryMatch *time.Ticker // 另起一个ticker 更新比赛状态 InterruptCh chan os.Signal // 中断信号 // contains filtered or unexported fields }
func (Client) ColoredScore ¶
func (*Client) OnLiveMessage ¶
func (c *Client) OnLiveMessage()
Click to show internal directories.
Click to hide internal directories.