NewServer starts an HTTPS server the handles the redoctober JSON API. Each of the URIs in the functions map above is setup with a separate HandleFunc. Each HandleFunc is an instance of queueRequest above.

Returns a valid http.Server handling redoctober JSON requests (and its associated listener) or an error

NewServer is referenced in 1 repository