package
8.0.35+incompatible
Repository: https://github.com/machbase/neo-server.git
Documentation: pkg.go.dev
# Functions
NewControlPacket takes a packetType and returns a pointer to a ControlPacket where the VariableHeader field is a pointer to an instance of a VariableHeader definition for that packetType.
ReadPacket reads a control packet from a io.Reader and returns a completed struct with the appropriate data.
ValidateID takes a PacketType and a property name and returns a boolean indicating if that property is valid for that PacketType.
# Constants
The following consts are the packet type number for each of the different control packets in MQTT.
AuthSuccess is the return code for successful authentication.
AuthSuccess is the return code for successful authentication.
AuthSuccess is the return code for successful authentication.
The following consts are the packet type number for each of the different control packets in MQTT.
The following consts are the packet type number for each of the different control packets in MQTT.
The following consts are the packet type number for each of the different control packets in MQTT.
DisconnectNormalDisconnection, etc are the list of valid disconnection reason codes.
DisconnectNormalDisconnection, etc are the list of valid disconnection reason codes.
DisconnectNormalDisconnection, etc are the list of valid disconnection reason codes.
DisconnectNormalDisconnection, etc are the list of valid disconnection reason codes.
DisconnectNormalDisconnection, etc are the list of valid disconnection reason codes.
DisconnectNormalDisconnection, etc are the list of valid disconnection reason codes.
DisconnectNormalDisconnection, etc are the list of valid disconnection reason codes.
DisconnectNormalDisconnection, etc are the list of valid disconnection reason codes.
DisconnectNormalDisconnection, etc are the list of valid disconnection reason codes.
DisconnectNormalDisconnection, etc are the list of valid disconnection reason codes.
DisconnectNormalDisconnection, etc are the list of valid disconnection reason codes.
DisconnectNormalDisconnection, etc are the list of valid disconnection reason codes.
DisconnectNormalDisconnection, etc are the list of valid disconnection reason codes.
DisconnectNormalDisconnection, etc are the list of valid disconnection reason codes.
DisconnectNormalDisconnection, etc are the list of valid disconnection reason codes.
DisconnectNormalDisconnection, etc are the list of valid disconnection reason codes.
DisconnectNormalDisconnection, etc are the list of valid disconnection reason codes.
DisconnectNormalDisconnection, etc are the list of valid disconnection reason codes.
DisconnectNormalDisconnection, etc are the list of valid disconnection reason codes.
DisconnectNormalDisconnection, etc are the list of valid disconnection reason codes.
DisconnectNormalDisconnection, etc are the list of valid disconnection reason codes.
DisconnectNormalDisconnection, etc are the list of valid disconnection reason codes.
DisconnectNormalDisconnection, etc are the list of valid disconnection reason codes.
DisconnectNormalDisconnection, etc are the list of valid disconnection reason codes.
DisconnectNormalDisconnection, etc are the list of valid disconnection reason codes.
DisconnectNormalDisconnection, etc are the list of valid disconnection reason codes.
DisconnectNormalDisconnection, etc are the list of valid disconnection reason codes.
DisconnectNormalDisconnection, etc are the list of valid disconnection reason codes.
DisconnectNormalDisconnection, etc are the list of valid disconnection reason codes.
The following consts are the packet type number for each of the different control packets in MQTT.
The following consts are the packet type number for each of the different control packets in MQTT.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
PropPayloadFormat, etc are the list of property codes for the MQTT packet properties.
The following consts are the packet type number for each of the different control packets in MQTT.
PubackSuccess, etc are the list of valid puback reason codes.
PubackSuccess, etc are the list of valid puback reason codes.
PubackSuccess, etc are the list of valid puback reason codes.
PubackSuccess, etc are the list of valid puback reason codes.
PubackSuccess, etc are the list of valid puback reason codes.
PubackSuccess, etc are the list of valid puback reason codes.
PubackSuccess, etc are the list of valid puback reason codes.
PubackSuccess, etc are the list of valid puback reason codes.
PubackSuccess, etc are the list of valid puback reason codes.
The following consts are the packet type number for each of the different control packets in MQTT.
PubcompSuccess, etc are the list of valid pubcomp reason codes.
PubcompSuccess, etc are the list of valid pubcomp reason codes.
The following consts are the packet type number for each of the different control packets in MQTT.
The following consts are the packet type number for each of the different control packets in MQTT.
PubrecSuccess, etc are the list of valid Pubrec reason codes.
PubrecSuccess, etc are the list of valid Pubrec reason codes.
PubrecSuccess, etc are the list of valid Pubrec reason codes.
PubrecSuccess, etc are the list of valid Pubrec reason codes.
PubrecSuccess, etc are the list of valid Pubrec reason codes.
PubrecSuccess, etc are the list of valid Pubrec reason codes.
PubrecSuccess, etc are the list of valid Pubrec reason codes.
PubrecSuccess, etc are the list of valid Pubrec reason codes.
PubrecSuccess, etc are the list of valid Pubrec reason codes.
The following consts are the packet type number for each of the different control packets in MQTT.
The following consts are the packet type number for each of the different control packets in MQTT.
SubackGrantedQoS0, etc are the list of valid suback reason codes.
SubackGrantedQoS0, etc are the list of valid suback reason codes.
SubackGrantedQoS0, etc are the list of valid suback reason codes.
SubackGrantedQoS0, etc are the list of valid suback reason codes.
SubackGrantedQoS0, etc are the list of valid suback reason codes.
SubackGrantedQoS0, etc are the list of valid suback reason codes.
SubackGrantedQoS0, etc are the list of valid suback reason codes.
SubackGrantedQoS0, etc are the list of valid suback reason codes.
SubackGrantedQoS0, etc are the list of valid suback reason codes.
SubackGrantedQoS0, etc are the list of valid suback reason codes.
SubackGrantedQoS0, etc are the list of valid suback reason codes.
SubackGrantedQoS0, etc are the list of valid suback reason codes.
The following consts are the packet type number for each of the different control packets in MQTT.
The following consts are the packet type number for each of the different control packets in MQTT.
UnsubackSuccess, etc are the list of valid unsuback reason codes.
UnsubackSuccess, etc are the list of valid unsuback reason codes.
UnsubackSuccess, etc are the list of valid unsuback reason codes.
UnsubackSuccess, etc are the list of valid unsuback reason codes.
UnsubackSuccess, etc are the list of valid unsuback reason codes.
UnsubackSuccess, etc are the list of valid unsuback reason codes.
UnsubackSuccess, etc are the list of valid unsuback reason codes.
The following consts are the packet type number for each of the different control packets in MQTT.
# Variables
ValidProperties is a map of the various properties and the PacketTypes that property is valid for.
# Structs
Auth is the Variable Header definition for a Auth control packet.
Connack is the Variable Header definition for a connack control packet.
Connect is the Variable Header definition for a connect control packet.
No description provided by the author
Disconnect is the Variable Header definition for a Disconnect control packet.
No description provided by the author
Pingreq is the Variable Header definition for a Pingreq control packet.
Pingresp is the Variable Header definition for a Pingresp control packet.
Properties is a struct representing the all the described properties allowed by the MQTT protocol, determining the validity of a property relvative to the packettype it was received in is provided by the ValidateID function.
Puback is the Variable Header definition for a Puback control packet.
Pubcomp is the Variable Header definition for a Pubcomp control packet.
Publish is the Variable Header definition for a publish control packet.
Pubrec is the Variable Header definition for a Pubrec control packet.
Pubrel is the Variable Header definition for a Pubrel control packet.
Suback is the Variable Header definition for a Suback control packet.
SubOptions is the struct representing the options for a subscription.
Subscribe is the Variable Header definition for a Subscribe control packet.
Unsuback is the Variable Header definition for a Unsuback control packet.
Unsubscribe is the Variable Header definition for a Unsubscribe control packet.
User is a struct for the User properties, originally it was a map then it was pointed out that user properties are allowed to appear more than once.
# Interfaces
No description provided by the author