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

Function newMockSender

internal/nodeagent/usage_test.go:58–60  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56}
57
58func newMockSender() *mockSender {
59 return &mockSender{ackCh: make(map[uint64]chan struct{})}
60}
61
62func (s *mockSender) PushEvent(reqID, event string, body []byte, seq uint64) error {
63 if s.failNext.Swap(false) {

Calls

no outgoing calls

Tested by

no test coverage detected