This is an early release. Some features are not yet fully implemented.
Language Server Protocol SDK for Go.
It enables you to more easily implement language servers by writing them in Go. GLSP contains:
- all the message structures for easy serialization,
- a handler for all client methods, and
- a ready-to-run JSON-RPC 2.0 server supporting stdio, TCP, WebSockets, and Node.js IPC.
All you need to do, then, is provide the features for the language you want to support.
For an example of a language server built using GLSP, see the Puccini TOSCA Language Server.
- go-lsp is another implementation with reduced coverage of the protocol