Documentation ¶
Index ¶
- type MqttMsgRecordAddReq
- type MqttMsgRecordAddRes
- type MqttMsgRecordDeleteReq
- type MqttMsgRecordDeleteRes
- type MqttMsgRecordEditReq
- type MqttMsgRecordEditRes
- type MqttMsgRecordGetReq
- type MqttMsgRecordGetRes
- type MqttMsgRecordSearchReq
- type MqttMsgRecordSearchRes
- type MqttStatusAddReq
- type MqttStatusAddRes
- type MqttStatusDeleteReq
- type MqttStatusDeleteRes
- type MqttStatusEditReq
- type MqttStatusEditRes
- type MqttStatusGetReq
- type MqttStatusGetRes
- type MqttStatusSearchReq
- type MqttStatusSearchRes
- type MqttStatusStatusReq
- type MqttStatusStatusRes
- type MqttStatusUpdateReq
- type MqttStatusUpdateRes
- type MqttTopicAddReq
- type MqttTopicAddRes
- type MqttTopicDeleteByTopicReq
- type MqttTopicDeleteByTopicRes
- type MqttTopicDeleteReq
- type MqttTopicDeleteRes
- type MqttTopicEditReq
- type MqttTopicEditRes
- type MqttTopicGetReq
- type MqttTopicGetRes
- type MqttTopicRecordAddReq
- type MqttTopicRecordAddRes
- type MqttTopicRecordDeleteReq
- type MqttTopicRecordDeleteRes
- type MqttTopicRecordEditReq
- type MqttTopicRecordEditRes
- type MqttTopicRecordGetReq
- type MqttTopicRecordGetRes
- type MqttTopicRecordSearchReq
- type MqttTopicRecordSearchRes
- type MqttTopicSearchReq
- type MqttTopicSearchRes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MqttMsgRecordAddReq ¶
type MqttMsgRecordAddReq struct { g.Meta `path:"/mqttMsgRecord/add" tags:"MQTT的消息记录" method:"post" summary:"添加MQTT的消息记录"` DeviceSn string `p:"deviceSn" ` TopicId int `p:"topicId" ` ClientName string `p:"clientName" v:"required#客户端名称不能为空"` ClientId string `p:"clientId" ` Qos int `p:"qos" ` Payload string `p:"payload" ` CreatTime uint `p:"creatTime" v:"required#创建时间不能为空"` }
MqttMsgRecordAddReq 添加操作请求参数
type MqttMsgRecordAddRes ¶
type MqttMsgRecordAddRes struct { }
type MqttMsgRecordDeleteReq ¶
type MqttMsgRecordDeleteRes ¶
type MqttMsgRecordDeleteRes struct { }
type MqttMsgRecordEditReq ¶
type MqttMsgRecordEditReq struct { g.Meta `path:"/mqttMsgRecord/edit" tags:"MQTT的消息记录" method:"put" summary:"修改MQTT的消息记录"` Id int `p:"id" v:"required#主键ID不能为空"` DeviceSn string `p:"deviceSn" ` TopicId int `p:"topicId" ` ClientName string `p:"clientName" v:"required#客户端名称不能为空"` ClientId string `p:"clientId" ` Qos int `p:"qos" ` Payload string `p:"payload" ` CreatTime uint `p:"creatTime" v:"required#创建时间不能为空"` }
MqttMsgRecordEditReq 修改操作请求参数
type MqttMsgRecordEditRes ¶
type MqttMsgRecordEditRes struct { }
type MqttMsgRecordGetReq ¶
type MqttMsgRecordGetRes ¶
type MqttMsgRecordGetRes struct { g.Meta `mime:"application/json"` *entity.MqttMsgRecord }
type MqttMsgRecordSearchReq ¶
type MqttMsgRecordSearchReq struct { g.Meta `path:"/mqttMsgRecord/list" tags:"MQTT的消息记录" method:"get" summary:"MQTT的消息记录列表"` DeviceSn string `p:"deviceSn"` //设备序列号 TopicId string `p:"topicId"` //Topic的主键 ClientName string `p:"clientName"` //客户端名称 ClientId string `p:"clientId"` //客户端ID Qos string `p:"qos"` //Qos Payload string `p:"payload"` //传递的数据 CreatTime string `p:"creatTime"` //创建时间 BeginTime string `p:"beginTime"` //开始时间 EndTime string `p:"endTime"` //结束时间 commonApi.PageReq }
MqttMsgRecordSearchReq 分页请求参数
type MqttMsgRecordSearchRes ¶
type MqttStatusAddReq ¶
type MqttStatusAddReq struct { g.Meta `path:"/mqttStatus/add" tags:"MQTT客户端连接状态" method:"post" summary:"添加MQTT客户端连接状态"` Name string `p:"name" v:"required#设备名称不能为空"` ClientId string `p:"clientId" ` Status int `p:"status" v:"required#MQTT连接的状态不能为空"` UserName string `p:"userName" ` }
MqttStatusAddReq 添加操作请求参数
type MqttStatusAddRes ¶
type MqttStatusAddRes struct { }
type MqttStatusDeleteReq ¶
type MqttStatusDeleteRes ¶
type MqttStatusDeleteRes struct { }
type MqttStatusEditReq ¶
type MqttStatusEditReq struct { g.Meta `path:"/mqttStatus/edit" tags:"MQTT客户端连接状态" method:"put" summary:"修改MQTT客户端连接状态"` Id int `p:"id" v:"required#主键ID不能为空"` Name string `p:"name" v:"required#设备名称不能为空"` ClientId string `p:"clientId" ` Status int `p:"status" v:"required#MQTT连接的状态不能为空"` UserName string `p:"userName" ` }
MqttStatusEditReq 修改操作请求参数
type MqttStatusEditRes ¶
type MqttStatusEditRes struct { }
type MqttStatusGetReq ¶
type MqttStatusGetRes ¶
type MqttStatusGetRes struct { g.Meta `mime:"application/json"` *entity.MqttStatus }
type MqttStatusSearchReq ¶
type MqttStatusSearchReq struct { g.Meta `path:"/mqttStatus/list" tags:"MQTT客户端连接状态" method:"get" summary:"MQTT客户端连接状态列表"` Name string `p:"name"` //设备名称 ClientId string `p:"clientId"` //MQTT连接的客户端Id Status string `p:"status"` //MQTT连接的状态 UserName string `p:"userName"` //登录名 BeginTime string `p:"beginTime"` //开始时间 EndTime string `p:"endTime"` //结束时间 commonApi.PageReq }
MqttStatusSearchReq 分页请求参数
type MqttStatusSearchRes ¶
type MqttStatusStatusReq ¶
type MqttStatusStatusReq struct { g.Meta `path:"/mqttStatus/status" tags:"MQTT客户端连接状态" method:"put" summary:"修改MQTT客户端连接状态状态"` Id int `p:"id" v:"required#主键ID不能为空"` Status int `p:"status" v:"required#MQTT连接的状态不能为空"` }
MqttStatusStatusReq 设置用户状态参数
type MqttStatusStatusRes ¶
type MqttStatusStatusRes struct { }
type MqttStatusUpdateReq ¶
type MqttStatusUpdateReq struct { g.Meta `path:"/mqttStatus/edit" tags:"MQTT客户端连接状态" method:"put" summary:"修改MQTT客户端连接状态"` Id int `p:"id" v:"required#主键ID不能为空"` Name string `p:"name" v:"required#设备名称不能为空"` ClientId string `p:"clientId" ` Status int `p:"status" v:"required#MQTT连接的状态不能为空"` UserName string `p:"userName" ` }
type MqttStatusUpdateRes ¶
type MqttStatusUpdateRes struct { }
type MqttTopicAddReq ¶
type MqttTopicAddReq struct { g.Meta `path:"/mqttTopic/add" tags:"MQTT客户端的订阅信息" method:"post" summary:"添加MQTT客户端的订阅信息"` Name string `p:"name" v:"required#设备名称不能为空"` ClientId string `p:"clientId" v:"required#设备Id不能为空"` Topic string `p:"topic" ` Qos int `p:"qos" ` RetainAsPub bool `p:"retainAsPub" ` RetainHandle byte `p:"retainHandle" ` }
MqttTopicAddReq 添加操作请求参数
type MqttTopicAddRes ¶
type MqttTopicAddRes struct { }
type MqttTopicDeleteByTopicRes ¶
type MqttTopicDeleteByTopicRes struct { }
type MqttTopicDeleteReq ¶
type MqttTopicDeleteRes ¶
type MqttTopicDeleteRes struct { }
type MqttTopicEditReq ¶
type MqttTopicEditReq struct { g.Meta `path:"/mqttTopic/edit" tags:"MQTT客户端的订阅信息" method:"put" summary:"修改MQTT客户端的订阅信息"` Id int `p:"id" v:"required#主键ID不能为空"` Name string `p:"name" v:"required#设备名称不能为空"` ClientId string `p:"clientId" v:"required#设备Id不能为空"` Topic string `p:"topic" ` Qos int `p:"qos" ` }
MqttTopicEditReq 修改操作请求参数
type MqttTopicEditRes ¶
type MqttTopicEditRes struct { }
type MqttTopicGetReq ¶
type MqttTopicGetRes ¶
type MqttTopicRecordAddReq ¶
type MqttTopicRecordAddReq struct { g.Meta `` /* 126-byte string literal not displayed */ Name string `p:"name" v:"required#设备名称不能为空"` Topic string `p:"topic" ` Qos int `p:"qos" ` Remark string `p:"remark" ` CreatTime uint `p:"creatTime" v:"required#创建时间不能为空"` }
MqttTopicRecordAddReq 添加操作请求参数
type MqttTopicRecordAddRes ¶
type MqttTopicRecordAddRes struct { }
type MqttTopicRecordDeleteRes ¶
type MqttTopicRecordDeleteRes struct { }
type MqttTopicRecordEditReq ¶
type MqttTopicRecordEditReq struct { g.Meta `` /* 126-byte string literal not displayed */ Id int `p:"id" v:"required#主键ID不能为空"` Name string `p:"name" v:"required#设备名称不能为空"` Topic string `p:"topic" ` Qos int `p:"qos" ` Remark string `p:"remark" ` CreatTime uint `p:"creatTime" v:"required#创建时间不能为空"` }
MqttTopicRecordEditReq 修改操作请求参数
type MqttTopicRecordEditRes ¶
type MqttTopicRecordEditRes struct { }
type MqttTopicRecordGetReq ¶
type MqttTopicRecordGetRes ¶
type MqttTopicRecordGetRes struct { g.Meta `mime:"application/json"` *entity.MqttTopicRecord }
type MqttTopicRecordSearchReq ¶
type MqttTopicRecordSearchReq struct { g.Meta `` /* 126-byte string literal not displayed */ Name string `p:"name"` //设备名称 Topic string `p:"topic"` //Topic Qos string `p:"qos"` //Qos CreatTime string `p:"creatTime"` //创建时间 BeginTime string `p:"beginTime"` //开始时间 EndTime string `p:"endTime"` //结束时间 commonApi.PageReq }
MqttTopicRecordSearchReq 分页请求参数
type MqttTopicSearchReq ¶
type MqttTopicSearchReq struct { g.Meta `path:"/mqttTopic/list" tags:"MQTT客户端的订阅信息" method:"get" summary:"MQTT客户端的订阅信息列表"` Name string `p:"name"` //设备名称 Topic string `p:"topic"` //订阅的Topic信息 ClientId string `p:"clientId" ` Qos string `p:"qos"` //等级 BeginTime string `p:"beginTime"` //开始时间 EndTime string `p:"endTime"` //结束时间 commonApi.PageReq }
MqttTopicSearchReq 分页请求参数
Click to show internal directories.
Click to hide internal directories.