MCPcopy
hub / github.com/PatchMon/PatchMon / SendJSON

Method SendJSON

server-source-code/internal/rdpproxy/session.go:39–39  ·  view source on GitHub ↗
(apiID string, v any)

Source from the content-addressed store, hash-verified

37// stays decoupled from the concrete registry type.
38type AgentSender interface {
39 SendJSON(apiID string, v any) error
40}
41
42// AgentResult carries the outcome of the initial agent handshake.

Callers 10

SendToAgentMethod · 0.65
sendToAgentMethod · 0.65
SendDisconnectMethod · 0.65
ProcessTaskMethod · 0.65
ProcessTaskMethod · 0.65
ApplyPendingConfigMethod · 0.65
handleConnectionMethod · 0.65
UpdateMethod · 0.65
CancelScanMethod · 0.65
RemediateRuleMethod · 0.65

Implementers 1

Registryserver-source-code/internal/agentregis

Calls

no outgoing calls

Tested by

no test coverage detected