You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
go-fly/controller/response.go

21 lines
514 B

package controller
type Response struct {
Code int `json:"code"`
Msg string `json:"msg"`
result interface{} `json:"result"`
}
type ChatMessage struct {
Time string `json:"time"`
Content string `json:"content"`
MesType string `json:"mes_type"`
Name string `json:"name"`
Avator string `json:"avator"`
}
type VisitorOnline struct {
Uid string `json:"uid"`
Username string `json:"username"`
Avator string `json:"avator"`
LastMessage string `json:"last_message"`
}