Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultTimeout = time.Minute
Functions ¶
This section is empty.
Types ¶
type AsynchronousRequestHandler ¶ added in v0.19.0
type AsynchronousRequestHandler struct {
// contains filtered or unexported fields
}
AsynchronousRequestHandler will selectively process some JSON-RPC messages asynchronously.
func (*AsynchronousRequestHandler) Handle ¶ added in v0.19.0
func (h *AsynchronousRequestHandler) Handle(ctx contextpkg.Context, conn *jsonrpc2.Conn, req *jsonrpc2.Request)
type JSONRPCLogger ¶
type JSONRPCLogger struct {
// contains filtered or unexported fields
}
func (*JSONRPCLogger) Printf ¶
func (self *JSONRPCLogger) Printf(format string, v ...any)
(jsonrpc2.Logger interface)
type Server ¶
type Server struct { Handler glsp.Handler LogBaseName string Debug bool Log commonlog.Logger Timeout time.Duration ReadTimeout time.Duration WriteTimeout time.Duration StreamTimeout time.Duration }
func (*Server) ServeStream ¶
func (self *Server) ServeStream(stream io.ReadWriteCloser, log commonlog.Logger)
Click to show internal directories.
Click to hide internal directories.