MCPcopy Create free account
hub / github.com/docker/docker-language-server / runStdioServer

Function runStdioServer

internal/pkg/cli/start.go:84–89  ·  view source on GitHub ↗
(_ context.Context)

Source from the content-addressed store, hash-verified

82}
83
84func runStdioServer(_ context.Context) error {
85 docManager := document.NewDocumentManager()
86 s := server.NewServer(docManager)
87 s.StartBackgrondProcesses(context.Background())
88 return s.RunStdio()
89}
90
91func runSocketServer(_ context.Context, addr string) error {
92 docManager := document.NewDocumentManager()

Callers 1

newStartCmdFunction · 0.85

Calls 4

RunStdioMethod · 0.95
NewDocumentManagerFunction · 0.92
NewServerFunction · 0.92

Tested by

no test coverage detected