api

package
v0.0.0-...-954e483 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPServer

type HTTPServer struct {
	// contains filtered or unexported fields
}

func NewHTTPServer

func NewHTTPServer(
	root string,
	watcher chan messaging.WatcherCommand,
	executor contract.Executor,
	status chan chan string) *HTTPServer

func (*HTTPServer) Execute

func (self *HTTPServer) Execute(response http.ResponseWriter, request *http.Request)

func (*HTTPServer) Ignore

func (self *HTTPServer) Ignore(response http.ResponseWriter, request *http.Request)

func (*HTTPServer) LongPollStatus

func (self *HTTPServer) LongPollStatus(response http.ResponseWriter, request *http.Request)

func (*HTTPServer) ReceiveUpdate

func (self *HTTPServer) ReceiveUpdate(root string, update *contract.CompleteOutput)

func (*HTTPServer) Reinstate

func (self *HTTPServer) Reinstate(response http.ResponseWriter, request *http.Request)

func (*HTTPServer) Results

func (self *HTTPServer) Results(response http.ResponseWriter, request *http.Request)

func (*HTTPServer) Status

func (self *HTTPServer) Status(response http.ResponseWriter, request *http.Request)

func (*HTTPServer) TogglePause

func (self *HTTPServer) TogglePause(response http.ResponseWriter, request *http.Request)

func (*HTTPServer) Watch

func (self *HTTPServer) Watch(response http.ResponseWriter, request *http.Request)

Jump to

Keyboard shortcuts

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