Documentation
¶
Overview ¶
Package console provides the web console server for Berth.
Server wraps an net/http.Handler to serve the Berth console UI. The handler is provided at construction time via NewServer, defaulting to an empty net/http.ServeMux when nil.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server serves the Berth web console UI.
func NewServer ¶
NewServer creates a console Server with the given handler. If handler is nil, an empty net/http.ServeMux is used.
Click to show internal directories.
Click to hide internal directories.