supervisorhttp

package
v0.0.0-...-30ba24f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2021 License: BSD-2-Clause Imports: 8 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL