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)

Source Files