MCPcopy Create free account
hub / github.com/GongShichen/LuminaCode / writeRPC

Function writeRPC

test/backend_daemon_ipc_test.go:371–376  ·  view source on GitHub ↗
(t *testing.T, conn *websocket.Conn, id, method string, params map[string]any)

Source from the content-addressed store, hash-verified

369 cfg.SessionDir = filepath.Join(root, "sessions")
370 ctx, cancel := context.WithCancel(context.Background())
371 defer cancel()
372 endpointPath := filepath.Join(root, "run", "backend.json")
373 errCh := startTestDaemon(t, ctx, cfg, endpointPath)
374 endpoint := waitForEndpoint(t, endpointPath)
375 firstConn := dialEndpoint(t, endpoint)
376 secondConn := dialEndpoint(t, endpoint)
377 defer secondConn.Close()
378
379 first := createSession(t, firstConn, root, "create-1")

Calls

no outgoing calls

Tested by

no test coverage detected