Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/nats-io/nats.go
/ showUsageAndExit
Function
showUsageAndExit
examples/nats-pub/main.go:32–35 ·
view source on GitHub ↗
(exitcode int)
Source
from the content-addressed store, hash-verified
30
}
31
32
func
showUsageAndExit(exitcode int) {
33
usage()
34
os.Exit(exitcode)
35
}
36
37
func
main() {
38
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