MCPcopy Index your code
hub / github.com/bytebase/bytebase / Handle

Method Handle

backend/api/lsp/handler.go:68–74  ·  view source on GitHub ↗
(ctx context.Context, conn *jsonrpc2.Conn, req *jsonrpc2.Request)

Source from the content-addressed store, hash-verified

66}
67
68func (h lspHandler) Handle(ctx context.Context, conn *jsonrpc2.Conn, req *jsonrpc2.Request) {
69 if isFileSystemRequest(req.Method) {
70 h.Handler.Handle(ctx, conn, req)
71 return
72 }
73 go h.Handler.Handle(ctx, conn, req)
74}
75
76// Handler handles Language Server Protocol requests.
77type Handler struct {

Calls 1

isFileSystemRequestFunction · 0.85

Tested by 2

newMockServerFunction · 0.36