Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MQTTServer ¶
var MQTT_SERVER *MQTTServer
func NewMQTTServer ¶
func NewMQTTServer(path string) *MQTTServer
func (*MQTTServer) Hook ¶
func (s *MQTTServer) Hook(topic string, callbackFn func(cl *mqtt.Client, sub packets.Subscription, pk packets.Packet))
func (*MQTTServer) InitRouter ¶
func (s *MQTTServer) InitRouter(topic string)
func (*MQTTServer) Run ¶
func (s *MQTTServer) Run()
Click to show internal directories.
Click to hide internal directories.