MCPcopy
hub / github.com/nats-io/nats.go / usage

Function usage

examples/nats-rply/main.go:29–32  ·  view source on GitHub ↗

NOTE: Can test with demo servers. nats-rply -s demo.nats.io <subject> <response>

()

Source from the content-addressed store, hash-verified

27// nats-rply -s demo.nats.io <subject> <response>
28
29func usage() {
30 log.Printf("Usage: nats-rply [-s server] [-creds file] [-nkey file] [-t] [-q queue] <subject> <response>\n")
31 flag.PrintDefaults()
32}
33
34func showUsageAndExit(exitcode int) {
35 usage()

Callers 1

showUsageAndExitFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected