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

Method shutdown

internal/pkg/server/server.go:161–165  ·  view source on GitHub ↗
(ctx *glsp.Context)

Source from the content-addressed store, hash-verified

159}
160
161func (s *Server) shutdown(ctx *glsp.Context) error {
162 _, _ = s.telemetry.Publish(context.Background())
163 protocol.SetTraceValue(protocol.TraceValueOff)
164 return nil
165}
166
167func (s *Server) setTrace(context *glsp.Context, params *protocol.SetTraceParams) error {
168 protocol.SetTraceValue(params.Value)

Callers

nothing calls this directly

Calls 2

SetTraceValueFunction · 0.92
PublishMethod · 0.65

Tested by

no test coverage detected