Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TAHandler ¶
func NewTAHandler ¶
func (*TAHandler) PublishHook ¶
PublishHook is designed to be given to an MQTT client and will be executed before a publish is sent allowing it to modify the Properties of the packet. In this case it allows the Topic Alias Handler to automatically replace topic names with alias numbers
func (*TAHandler) ResetAlias ¶
ResetAlias reassigns a given alias number for a new topic
Click to show internal directories.
Click to hide internal directories.