Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/nats-io/nats.go
/ showUsageAndExit
Function
showUsageAndExit
examples/nats-req/main.go:33–36 ·
view source on GitHub ↗
(exitcode int)
Source
from the content-addressed store, hash-verified
31
}
32
33
func
showUsageAndExit(exitcode int) {
34
usage()
35
os.Exit(exitcode)
36
}
37
38
func
main() {
39
var
urls = flag.String(
"s"
, nats.DefaultURL,
"The nats server URLs (separated by comma)"
)
Callers
1
main
Function · 0.70
Calls
1
usage
Function · 0.70
Tested by
no test coverage detected