Documentation ¶
Index ¶
- type Command
- func ExitCommand(ui tui.UI) *Command
- func PrintKeyCommand(l logger.Logger, isPubKeyMode bool) *Command
- func SendProtectedMessageCommand(e4Client e4.Client, mqttClient mqtt.Client, l logger.Logger) *Command
- func SendUnprotectedMessageCommand(e4Client e4.Client, mqttClient mqtt.Client, l logger.Logger) *Command
- func SubscribeTopicCommand(e4Client e4.Client, mqttClient mqtt.Client, l logger.Logger) *Command
- func UnsubscribeTopicCommand(e4Client e4.Client, mqttClient mqtt.Client, l logger.Logger) *Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
Command defines a E4 Client command
func PrintKeyCommand ¶
PrintKeyCommand print out a hex string key derived from a password
func SendProtectedMessageCommand ¶
func SendProtectedMessageCommand(e4Client e4.Client, mqttClient mqtt.Client, l logger.Logger) *Command
SendProtectedMessageCommand creates a command to send a protected message
func SendUnprotectedMessageCommand ¶
func SendUnprotectedMessageCommand(e4Client e4.Client, mqttClient mqtt.Client, l logger.Logger) *Command
SendUnprotectedMessageCommand creates a command to send an unprotected message
func SubscribeTopicCommand ¶
SubscribeTopicCommand creates a command to subscribe to MQTT topics
Click to show internal directories.
Click to hide internal directories.