Brian Duggan > Clustericious-0.9908 > Clustericious::App

Download:
Clustericious-0.9908.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source   Latest Release: Clustericious-0.9936

NAME ^

Clustericious::App -- base class for clustericious apps

DESCRIPTION ^

Inherits from Mojolicious, add adds the following functionality :

$app->startup

Adds the autodata_handler plugin, common routes, and sets up logging for the client using log::log4perl.

$app->init_logging

Initializing logging using ~/etc/log4perl.conf

$app->dump_api

Dump out the API for this REST server.

$app->dump_api_table( $table )

Dump out the column information for the given table.

$app->config

Returns the config (an instance of Clustericious::Config) for the application.

syntax highlighting: