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

Struct recordingPush

internal/nodehub/hub_test.go:358–362  ·  view source on GitHub ↗

---- 测试:usage_push ack ----

Source from the content-addressed store, hash-verified

356// ---- 测试:usage_push ack ----
357
358type recordingPush struct {
359 mu sync.Mutex
360 usages []uint64
361 failOn map[uint64]bool
362}
363
364func (r *recordingPush) OnHello(string, []byte) {}
365func (r *recordingPush) OnUsagePush(_ string, seq uint64, _ []byte) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected