blob: 085db0c69c411f059ce65d6023b3eaecd8b8fe6b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
package mqtt
import meshtastic "github.com/meshnet-gophers/meshtastic-go/meshtastic"
// Node implements a meshtastic node that connects only via MQTT
type Node struct {
user *meshtastic.User
}
func NewNode(user *meshtastic.User) *Node {
return &Node{
user: user,
}
}
|