Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/nats-io/nats.go
/ printStatusMsg
Function
printStatusMsg
examples/nats-echo/main.go:49–51 ·
view source on GitHub ↗
(m *nats.Msg, i int)
Source
from the content-addressed store, hash-verified
47
}
48
49
func
printStatusMsg(m *nats.Msg, i int) {
50
log.Printf(
"[#%d] Sending status from [%s] to [%s]: %q"
, i, m.Subject, m.Reply, m.Data)
51
}
52
53
type
serviceStatus
struct
{
54
Id string `json:
"id"
`
Callers
1
main
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected