package
0.0.0-20240917014052-ae9b5cf36d22
Repository: https://github.com/srishina/mqtt.go.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DecodeBool read and returns the next byte from the reader and converts to bool returns EOF when no byte is available to read.
DecodeByte read and returns the next byte from the reader returns EOF when no byte is available to read.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
EncodeBool appends the boo as byte to the buffer.
EncodeByte appends the byte val to the buffer.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewPIDGenerator the PID generator.
No description provided by the author
NewTopicMatcher new topic matcher.
No description provided by the author
No description provided by the author
SliceIndex returns the index of the element position returns -1 if not found.
ValidatePublishTopic that a topic used for publishing is valid.
ValidateSubscribeTopic Validate that a topic used for subscriptions is valid.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
PIDGenerator is 16 bit id generator as specified by the MQTT spec.
No description provided by the author
TopicMatcher stores the topic and it's subscribers more than one subscriber can be associated with one topic.
# Interfaces
Subscriber subscriber interface, when the subscriber is going away Finalize method will be called to do the cleanup.
# Type aliases
Subscribers subscriber list.