Documentation ¶
Overview ¶
The following commands will run pingmq as a server, pinging the 8.8.8.0/28 CIDR block, and publishing the results to /ping/success/{ip} and /ping/failure/{ip} topics every 30 seconds. `sudo` is needed because we are using RAW sockets and that requires root privilege.
$ go build $ sudo ./pingmq server -p 8.8.8.0/28 -i 30
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Server ... Server = &cobra.Command{ Use: "server", Short: "server starts a SurgeMQ server and publishes to it all the ping results", } )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.