Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MqttMsgRecord ¶
type MqttMsgRecord struct { g.Meta `orm:"table: mqtt_msg_record, do:true"` Id interface{} // 主键 DeviceSn interface{} // 设备序列号 TopicId interface{} // Topic的主键 ClientName interface{} // 客户端名称 ClientId interface{} // 客户端ID Qos interface{} // Qos Payload interface{} // 传递的数据 CreatTime interface{} // 创建时间 }
MqttMsgRecord is the golang structure for table mqtt_msg_record.
type MqttStatus ¶
type MqttStatus struct { g.Meta `orm:"table: mqtt_status, do:true"` Id interface{} // 主键 Name interface{} // 设备名称 ClientId interface{} // MQTT连接的客户端Id Status interface{} // MQTT连接的状态 UserName interface{} // 登录名 CreatedAt *gtime.Time // 创建时间 UpdatedAt *gtime.Time // 修改时间 }
MqttStatus is the golang structure for table mqtt_status.
type MqttTopic ¶
type MqttTopic struct { g.Meta `orm:"table: mqtt_topic, do:true"` Id interface{} // 主键 Name interface{} // 设备名称 ClientId interface{} // 客户端Id Topic interface{} // 订阅的Topic信息 Qos interface{} // 等级 RetainAsPub interface{} // Retain As Published option RetainHandle interface{} // Retain Handling option CreatedAt *gtime.Time // 创建时间 UpdatedAt *gtime.Time // 修改时间 }
MqttTopic is the golang structure for table mqtt_topic.
type MqttTopicRecord ¶
type MqttTopicRecord struct { g.Meta `orm:"table: mqtt_topic_record, do:true"` Id interface{} // 主键 Name interface{} // 设备名称 Topic interface{} // Topic Qos interface{} // Qos Remark interface{} // 备注 CreatTime interface{} // 创建时间 }
MqttTopicRecord is the golang structure for table mqtt_topic_record.
Click to show internal directories.
Click to hide internal directories.