Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServerStatusHandler ¶
type ServerStatusHandler struct {
// contains filtered or unexported fields
}
ServerStatusHandler is a simple handler that handles the server status page.
func New ¶
func New(cfg *config.Handler, l *types.Location, next types.RequestHandler) (*ServerStatusHandler, error)
New creates and returns a ready to used ServerStatusHandler.
func (*ServerStatusHandler) RequestHandle ¶
func (ssh *ServerStatusHandler) RequestHandle(ctx context.Context, w http.ResponseWriter, r *http.Request)
RequestHandle servers the status page.
Click to show internal directories.
Click to hide internal directories.