Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultTimeout = time.Minute
Functions ¶
This section is empty.
Types ¶
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.