Versions in this module Expand all Collapse all v0 v0.0.4 Jan 3, 2025 Changes in this version + var DefaultTimeout = time.Minute + type JSONRPCLogger struct + func (self *JSONRPCLogger) Printf(format string, v ...any) + type Server struct + Debug bool + Handler glsp.Handler + Log commonlog.Logger + LogBaseName string + ReadTimeout time.Duration + StreamTimeout time.Duration + Timeout time.Duration + WebSocketTimeout time.Duration + WriteTimeout time.Duration + func NewServer(handler glsp.Handler, logName string, debug bool) *Server + func (self *Server) RunNodeJs() error + func (self *Server) RunStdio() error + func (self *Server) RunTCP(address string) error + func (self *Server) RunWebSocket(address string) error + func (self *Server) ServeStream(stream io.ReadWriteCloser, log commonlog.Logger) + func (self *Server) ServeWebSocket(socket *websocket.Conn, log commonlog.Logger) + type Stdio struct + func (Stdio) Close() error + func (Stdio) Read(p []byte) (int, error) + func (Stdio) Write(p []byte) (int, error)