(m *nats.Msg, i int)
| 43 | } |
| 44 | |
| 45 | func printMsg(m *nats.Msg, i int) { |
| 46 | log.Printf("[#%d] Echoing from [%s] to [%s]: %q", i, m.Subject, m.Reply, m.Data) |
| 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) |