package model type PostParamDto struct { MsgId string `json:"msgId"` DeviceSN string `json:"deviceSN"` Gateway string `json:"gateway"` Timestamp int64 `json:"timestamp"` Action string `json:"action"` Data []interface{} `json:"data"` } type PostParamData struct { Addr int `json:"addr"` Len int `json:"len"` Data string `json:"data"` } type PostEventData struct { EventCode string `json:"eventcode"` Timestamp int64 `json:"timestamp"` Data []interface{} }