Documentation ¶
Overview ¶
Package dash serves the Encore Developer Dashboard.
Index ¶
- type ListEncoderExtension
- type Server
- func (s *Server) OnCompileStart(r *run.Run)
- func (s *Server) OnError(r *run.Run, err *errlist.List)
- func (s *Server) OnReload(r *run.Run)
- func (s *Server) OnStart(r *run.Run)
- func (s *Server) OnStderr(r *run.Run, out []byte)
- func (s *Server) OnStdout(r *run.Run, out []byte)
- func (s *Server) OnStop(r *run.Run)
- func (s *Server) ServeHTTP(w http.ResponseWriter, req *http.Request)
- func (s *Server) WebSocket(w http.ResponseWriter, req *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ListEncoderExtension ¶ added in v1.20.0
type ListEncoderExtension struct {
jsoniter.DummyExtension
}
func NewListEncoderExtension ¶ added in v1.20.0
func NewListEncoderExtension() *ListEncoderExtension
func (*ListEncoderExtension) DecorateEncoder ¶ added in v1.20.0
func (e *ListEncoderExtension) DecorateEncoder(typ reflect2.Type, encoder jsoniter.ValEncoder) jsoniter.ValEncoder
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is the http.Handler for serving the developer dashboard.
func (*Server) OnCompileStart ¶ added in v1.31.0
Click to show internal directories.
Click to hide internal directories.