package
0.4.5
Repository: https://github.com/sanposhiho/tools.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
NewForwarder creates a new Forwarder, ready to forward connections to the remote server specified by network and addr.
NewStreamServer creates a StreamServer using the shared cache.
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

ClientSession identifies a current client LSP session on the server.
A Forwarder is a jsonrpc2.StreamServer that handles an LSP stream by forwarding it to a remote.
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.

# Interfaces

A RemoteOption configures the behavior of the auto-started remote.

# Type aliases

RemoteDebugAddress configures the address used by the auto-started Gopls daemon for serving debug information.
RemoteListenTimeout configures the amount of time the auto-started gopls daemon will wait with no client connections before shutting down.
RemoteLogfile configures the logfile location for the auto-started gopls daemon.