methods

package
v1.6.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2024 License: AGPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

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 ProcessCodeGeneration added in v1.6.9

func ProcessCodeGeneration(filePath, Language, client string) (string, error)

func ProcessForLSP added in v1.6.9

func ProcessForLSP(filePath string) (*gabs.Container, error)

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL