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

Function usage

examples/nats-bench/main.go:36–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34)
35
36func usage() {
37 log.Printf("Usage: nats-bench [-s server (%s)] [--tls] [-np NUM_PUBLISHERS] [-ns NUM_SUBSCRIBERS] [-n NUM_MSGS] [-ms MESSAGE_SIZE] [-csv csvfile] [-creds file] [-nkey file] <subject>\n", nats.DefaultURL)
38 flag.PrintDefaults()
39}
40
41func showUsageAndExit(exitcode int) {
42 usage()

Callers 1

showUsageAndExitFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected