cmd

package
v0.0.0-...-d5213e9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2020 License: Apache-2.0 Imports: 15 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func InitMQTTClient

func InitMQTTClient(clientid string, deliveries *chan string)

InitMQTTClient Initiates the MQTT client and connects to the broker

func RunCommandListner

func RunCommandListner(sensorCmdGoChan *chan string)

RunCommandListner listens remote commands

func RunEmulator

func RunEmulator(sensorCmdGoChan *chan string)

RunEmulator runs the sensor emulator

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL