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

Struct integrationPushHandler

internal/nodeagent/integration_test.go:22–26  ·  view source on GitHub ↗

integrationPushHandler 收集 hello / usage_push 事件供断言。

Source from the content-addressed store, hash-verified

20
21// integrationPushHandler 收集 hello / usage_push 事件供断言。
22type integrationPushHandler struct {
23 mu sync.Mutex
24 helloBodies [][]byte
25 usagePushes []uint64
26}
27
28func (h *integrationPushHandler) OnHello(_ string, body []byte) {
29 h.mu.Lock()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected