Versions in this module Expand all Collapse all v0 v0.2.0 Oct 7, 2026 v0.1.0 Oct 3, 2026 Changes in this version + func Input(text string) []map[string]any + type Client struct + Diagnostics Diagnostics + Done chan error + Input io.WriteCloser + Messages chan Message + Output io.ReadCloser + func Start(cmd *exec.Cmd) (*Client, error) + func (c *Client) Close() + func (c *Client) Initialize() (string, error) + func (c *Client) Respond(id jsontext.Value, result any) error + func (c *Client) Send(method string, params any, request bool) (string, error) + func (c *Client) Shutdown() error + type Diagnostics struct + Text []byte + func (d *Diagnostics) Write(p []byte) (int, error) + type Error struct + Code int + Message string + type Message struct + Error *Error + ID jsontext.Value + Method string + Params jsontext.Value + Result jsontext.Value