Datacenter build and management service
https://github.com/joyent/conch-api/blob/master/lib/Conch.pm
Mojolicious::Commands->start_app('Conch');
Used by Mojo in the startup process. Loads the config file and sets up the helpers, routes and everything else.
These methods are made available on the $c
object (the invocant of all controller methods,
and therefore other helpers).
Helper method for setting the response status code and json content. Calls
$c->render
as a side-effect.
Simple helper for setting the Location
header in the response.
Stores a Conch::Time instance representing the time the server started accepting requests.
Retrieves the “host” in Mojo::URL portion of the request URL, suitable for constructing base URLs in user-facing content.
Banner text suitable for displaying on startup.
Copyright Joyent, Inc.
This Source Code Form is subject to the terms of the Mozilla Public License, v.2.0. If a copy of the MPL was not distributed with this file, You can obtain one at https://www.mozilla.org/en-US/MPL/2.0/.