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

Method Session

internal/pb/nodev1/node_grpc.pb.go:32–32  ·  view source on GitHub ↗

核心双向流:server 通过 ServerMessage 下发指令,node 用 NodeMessage 回响应或主动推送。

(ctx context.Context, opts ...grpc.CallOption)

Source from the content-addressed store, hash-verified

30type NodeAgentClient interface {
31 // 核心双向流:server 通过 ServerMessage 下发指令,node 用 NodeMessage 回响应或主动推送。
32 Session(ctx context.Context, opts ...grpc.CallOption) (grpc.BidiStreamingClient[NodeMessage, ServerMessage], error)
33}
34
35type nodeAgentClient struct {

Callers 3

runSessionFunction · 0.95
startNodeMockFunction · 0.95

Implementers 4

mockHubinternal/nodeagent/agent_test.go
Hubinternal/nodehub/hub.go
nodeAgentClientinternal/pb/nodev1/node_grpc.pb.go
UnimplementedNodeAgentServerinternal/pb/nodev1/node_grpc.pb.go

Calls

no outgoing calls

Tested by 1

startNodeMockFunction · 0.76