MCPcopy
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
49func 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
53type serviceStatus struct {
54 Id string `json:"id"`

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected