Monitor streams back every command processed by the Titan server
(ctx *Context)
| 18 | |
| 19 | // Monitor streams back every command processed by the Titan server |
| 20 | func Monitor(ctx *Context) { |
| 21 | ctx.Server.Monitors.Store(ctx.Client.RemoteAddr, ctx) |
| 22 | resp.ReplySimpleString(ctx.Out, "OK") |
| 23 | } |
| 24 | |
| 25 | // Client manages client connections |
| 26 | func Client(ctx *Context) { |