Documentation
¶
Index ¶
Constants ¶
View Source
const (
DefaultTimeout = 2 * time.Second
)
Variables ¶
View Source
var ( ErrInvalidParams = errors.New("invalid params") ErrInternalError = errors.New("internal error") )
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func NewServer ¶
func NewServer(conn *Conn, initializer func(string) error, capabilities protocol.ServerCapabilities) (*Server, error)
return a server with the connection set and a function that takes the rootPath to initialize the lsp
func (*Server) HandleRequest ¶
func (*Server) Initialize ¶ added in v1.0.13
func (*Server) ListenAndServe ¶
Click to show internal directories.
Click to hide internal directories.