# Functions
CheckDrone returns a middleware function that authorizes the incoming http.Request using the Drone API.
HandleEnginePause returns an http.HandlerFunc that pauses scaling engine.
HandleEngineResume returns an http.HandlerFunc that resumes scaling engine.
HandleHealthz creates an http.HandlerFunc that returns performs system healthchecks and returns 500 if the system is in an unhealthy state.
HandleMetrics returns an http.HandlerFunc that writes metrics to the response body in plain text format.
HandleServerCreate returns an http.HandlerFunc that creates and a new server.
HandleServerDelete returns an http.HandlerFunc that destroys and then deletes the named server.
HandleServerFind returns an http.HandlerFunc that finds and writes the json-encoded server to the the response body.
HandleServerList returns an http.HandlerFunc that writes the json-encoded server list to the the response body.
HandleVarz creates an http.HandlerFunc that returns system configuration and runtime information.
HandleVersion creates an http.HandlerFunc that returns the version number and build details.