MCPcopy Create free account
hub / github.com/0xUnixIO/pulse / Handle

Method Handle

internal/nodeagent/agent.go:30–30  ·  view source on GitHub ↗
(ctx context.Context, method string, body json.RawMessage)

Source from the content-addressed store, hash-verified

28// 当 server 发送对应的 cancel_id 帧时,agent 会取消传入的 ctx。
29type Dispatcher interface {
30 Handle(ctx context.Context, method string, body json.RawMessage) (json.RawMessage, error)
31}
32
33// NoopDispatcher 是用于测试或过渡期的空实现。

Callers 3

dispatchMethod · 0.65
HandleMethod · 0.65
RunFunction · 0.65

Implementers 5

callableDispatcherinternal/integration/grpcpush_test.go
APIDispatcherinternal/nodeagent/dispatch.go
NoopDispatcherinternal/nodeagent/agent.go
nopDispatcherinternal/nodehub/loadtest/loadtest_tes
xrayLogHandlerinternal/xray/manager.go

Calls

no outgoing calls

Tested by

no test coverage detected