# Functions
BindHandler transforms a HandlerMiddleware into a Middleware.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
NewForwarder creates a new Forwarder, ready to forward connections to the remote server specified by rawAddr.
No description provided by the author
NewStreamServer creates a StreamServer using the shared cache.
ParseAddr parses the address of a gopls remote.
QueryServerState queries the server state of the current server.
# Constants
AutoNetwork is the pseudo network type used to signal that gopls should use automatic discovery to resolve a remote address.
# Structs
An AutoDialer is a jsonrpc2 dialer that understands the 'auto' network.
ClientBinder binds an LSP client to an incoming connection.
ClientSession identifies a current client LSP session on the server.
No description provided by the author
A Forwarder is a jsonrpc2.StreamServer that handles an LSP stream by forwarding it to a remote.
Handshaker handles both server and client handshaking over jsonrpc2.
PeerInfo holds information about a peering between jsonrpc2 servers.
ServerBinder binds incoming connections to a new server.
ServerState holds information about the gopls daemon process, including its debug information and debug information of all of its current connected clients.
The StreamServer type is a jsonrpc2.StreamServer that handles incoming streams as a new LSP session, using a shared cache.
# Type aliases
The BinderFunc type adapts a bind function to implement the jsonrpc2.Binder interface.
A ClientFunc is used to construct an LSP client for a given server.
HandlerMiddleware is a middleware that only modifies the jsonrpc2 handler.
Metadata holds arbitrary data transferred between jsonrpc2 peers.
Middleware defines a transformation of jsonrpc2 Binders, that may be composed to build jsonrpc2 servers.
A ServerFunc is used to construct an LSP server for a given client.