#Nats go cli client
queueGroup is optional
./natsCli -host http://localhost:4222 -type subscribe -topic MyTopic -queueGroup MyQueue
./natsCli -host http://localhost:4222 -type publish -topic MyTopic -data MyData
go get github.com/nats-io/nats
go build -o natsCli natsCli.go