Documentation
¶
Index ¶
- func CodeGeneration(req request.JSONRPCRequest) response.JSONRPCResponse
- func ExecuteCommand(req request.JSONRPCRequest) response.JSONRPCResponse
- func Exit(isShutdownRequested bool) response.JSONRPCResponse
- func Initialize(req request.JSONRPCRequest) response.JSONRPCResponse
- func ProcessCodeGeneration(filePath, Language, client string) (string, error)
- func ProcessForLSP(filePath string) (*gabs.Container, error)
- 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 CodeGeneration ¶ added in v1.6.9
func CodeGeneration(req request.JSONRPCRequest) response.JSONRPCResponse
func ExecuteCommand ¶ added in v1.6.9
func ExecuteCommand(req request.JSONRPCRequest) response.JSONRPCResponse
ExecuteCommand is the LSP method that handles the execution of the API file filePath: the path to the API file
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 ProcessCodeGeneration ¶ added in v1.6.9
func ProcessForLSP ¶ added in v1.6.9
ProcessForLSP is the method that processes the API file filePath: the path to the API file
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.