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

Function newMockHub

internal/nodeagent/agent_test.go:34–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32}
33
34func newMockHub() *mockHub {
35 return &mockHub{sessions: make(chan *mockSession, 16)}
36}
37
38type mockSession struct {
39 stream nodev1.NodeAgent_SessionServer

Callers 1

startMockServerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected