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

Function usage

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

NOTE: Can test with demo servers. nats-qsub -s demo.nats.io <subject> <queue>

()

Source from the content-addressed store, hash-verified

27// nats-qsub -s demo.nats.io <subject> <queue>
28
29func usage() {
30 log.Printf("Usage: nats-qsub [-s server] [-creds file] [-nkey file] [-t] <subject> <queue>\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