Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
34
func
newMockHub() *mockHub {
35
return
&mockHub{sessions: make(
chan
*mockSession, 16)}
36
}
37
38
type
mockSession
struct
{
39
stream nodev1.NodeAgent_SessionServer
Callers
1
startMockServer
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected