tcp_get_command_sample

command
v1.1.46 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

README

tcp_get_command

the tcp_get_command service listens on a tcp port and publishes the received data in a cloud event on the topic com.plugis.tcp-get-command.message

# in one terminal
cd github.com/telemac/goutils/events/com.plugis/tcpgetcommand/cmd/tcp_get_command_sample
go run main.go -log trace

# in another
echo -n "000042<MESSAGE_TYPE>=WATCHDOG<MODULE>=WATCH_DC09" | nc localhost 10

# in a third
 mosquitto_sub -h cloud1.idronebox.com -t 'com/#' -v

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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