Documentation ¶
Overview ¶
Supervisorhttp provides the HTTP API for working with Supervisor.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SupervisorHandler ¶
type SupervisorHandler struct {
// contains filtered or unexported fields
}
SupervisorHandler is used to communicate with the Supervisor over HTTP.
func NewSupervisorHandler ¶
func NewSupervisorHandler(sv *core.Supervisor) *SupervisorHandler
NewSupervisorHandler creates SupervisorHandler.
func (*SupervisorHandler) ServeHTTP ¶
func (handler *SupervisorHandler) ServeHTTP(wr http.ResponseWriter, req *http.Request)
ServeHTTP handles requests to the Supervisor.
Click to show internal directories.
Click to hide internal directories.