Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
Server is a simple wrapper around an embedded HTTP server with a logger and database.
func CreateServer ¶
CreateServer attempts to start a RESTful JSON HTTP service. If the server fails to start, an error is returned.
func (*Server) Close ¶
func (srvr *Server) Close()
Close attempts to perform a clean shutdown of the server.
func (*Server) GetLatestExecution ¶
func (srvr *Server) GetLatestExecution() func(http.ResponseWriter, *http.Request)
GetLatestExecution returns the latest monitor execution.
Click to show internal directories.
Click to hide internal directories.