Documentation
¶
Index ¶
- type Extra
- type GetFileViewRequest
- type GetFileViewResponce
- type Handler
- type Server
- func (s Server) Exit(_ *glsp.Context) error
- func (s *Server) GetFileView(glspCtx *glsp.Context, req GetFileViewRequest) (GetFileViewResponce, error)
- func (s *Server) Initialize(glspCtx *glsp.Context, params *protocol.InitializeParams) (any, error)
- func (s *Server) Initialized(glspCtx *glsp.Context, params *protocol.InitializedParams) error
- func (s Server) SetTrace(_ *glsp.Context, params *protocol.SetTraceParams) error
- func (s *Server) Shutdown(context *glsp.Context) error
- func (s *Server) TextDocumentDidChange(glspCtx *glsp.Context, params *protocol.DidChangeTextDocumentParams) error
- type URI
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetFileViewRequest ¶
type GetFileViewResponce ¶
type Handler ¶
type Handler struct { *protocol.Handler GetFileView func(glspCtx *glsp.Context, params GetFileViewRequest) (GetFileViewResponce, error) }
func BuildHandler ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) GetFileView ¶
func (s *Server) GetFileView(glspCtx *glsp.Context, req GetFileViewRequest) (GetFileViewResponce, error)
func (*Server) Initialize ¶
func (*Server) Initialized ¶
func (*Server) TextDocumentDidChange ¶
Click to show internal directories.
Click to hide internal directories.