go-gb28181/pkg/manscdp/message.go

12 lines
303 B
Go
Raw Normal View History

package manscdp
import "encoding/xml"
2025-01-25 15:53:25 +08:00
// MessageReq 定义了查询消息的请求结构体使用XML格式进行序列化和反序列化
type MessageReq struct {
XMLName xml.Name `xml:"Query"`
CmdType string `xml:"CmdType"`
SN string `xml:"SN"`
DeviceID string `xml:"DeviceID"`
}