12345678910111213 |
- // Copyright 2019 github.com. All rights reserved.
- // Use of this source code is governed by gitbub.com.
- package parser
- import (
- "tower-monitor/config"
- "github.com/jaryhe/gopkgs/mqtt"
- )
- func MqttHandler(conf *config.Configure) {
- mqtt.Setup(conf.Mqtt.Addr, conf.Mqtt.Username, conf.Mqtt.Password)
- }
|