Documentation
¶
Overview ¶
lsp_lifecycle.go
lsp_suggestEnv.go
Index ¶
- func Exit(isShutdownRequested bool) response.JSONRPCResponse
- func Initialize(req request.JSONRPCRequest) response.JSONRPCResponse
- func Shutdown(req request.JSONRPCRequest, isShutdownRequested bool) response.JSONRPCResponse
- func SuggestEnvironmentVariables(req request.JSONRPCRequest) response.JSONRPCResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Exit ¶
func Exit(isShutdownRequested bool) response.JSONRPCResponse
Exit terminates the server process, with the exit code depending on whether a shutdown was requested.
func Initialize ¶
func Initialize(req request.JSONRPCRequest) response.JSONRPCResponse
func Shutdown ¶
func Shutdown(req request.JSONRPCRequest, isShutdownRequested bool) response.JSONRPCResponse
Shutdown is a way to gracefully terminate the server. The server can perform cleanup operations, like closing open files, releasing resources, or saving state.
func SuggestEnvironmentVariables ¶
func SuggestEnvironmentVariables(req request.JSONRPCRequest) response.JSONRPCResponse
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.