add CommonMessage
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package model
|
||||
|
||||
const (
|
||||
GameMsgType int = iota
|
||||
ChatMsgType
|
||||
)
|
||||
|
||||
type CommonMsg struct {
|
||||
MsgType int `json:"msg_type"`
|
||||
Content interface{}
|
||||
}
|
||||
Reference in New Issue
Block a user