// EventMsg Event message send over Websocket, data format depend to Type (see DecodeXXX function)
type EventMsg struct {
Time string `json:"time"` // Timestamp
- FromSessionID string `json:"sessionID"` // Session ID of client that emits this event
+ FromSessionID string `json:"sessionID"` // Session ID of client who produce this event
Type string `json:"type"` // Data type
Data interface{} `json:"data"` // Data
}