Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Serve ¶
type Serve struct { // Port on which to run the server. Port int // Address on which to listen for remote connections. If prefixed by 'unix;', the subsequent address is assumed to // be a unix domain socket. Otherwise, TCP is used. Address string // IdleTimeout - shut down the server when there are no connected clients for this duration. IdleTimeout time.Duration ServerFactory func(protocol.ClientCloser, context.Context, func()) protocol.Server }
Serve is a struct that exposes the configurable parts of the LSP server as flags, in the right form for tool.Main to consume.
Click to show internal directories.
Click to hide internal directories.