Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var H = hb{ // contains filtered or unexported fields }
Functions ¶
func PushHandler ¶
func PushHandler(w http.ResponseWriter, req *http.Request)
func ReportHandler ¶
func ReportHandler(w http.ResponseWriter, r *http.Request)
Types ¶
type ClientsReport ¶
type ClientsReport struct { Uid int `json:"uid"` Status int `json:"status"` //1心跳包,2其他 Msg string `json:"msg"` }
客户端上报
type ServerReport ¶
服务端上报数据
Click to show internal directories.
Click to hide internal directories.