MCPcopy Create free account
hub / github.com/distributedio/titan / Monitor

Function Monitor

command/server.go:20–23  ·  view source on GitHub ↗

Monitor streams back every command processed by the Titan server

(ctx *Context)

Source from the content-addressed store, hash-verified

18
19// Monitor streams back every command processed by the Titan server
20func 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
26func Client(ctx *Context) {

Callers 1

TestMonitorFunction · 0.85

Calls 1

ReplySimpleStringFunction · 0.92

Tested by 1

TestMonitorFunction · 0.68