NAME Dancer::Plugin::Cerberus - Include geo, time zone, user-
agent and throttling from App::Cerberus VERSION version 0.03
SYNOPSIS use Dancer::Plugin::Cerberus; get '/' => sub { my
$time_zone = vars->{cerberus}{tz}{name}; }; DESCRIPTION This
plugin adds metadata from an App::Cerberus server to the vars
before your route handlers are called. For instance: * Geo-
location * Time zone * User-agent info * Are they a spider? *
Are they making too many requests? Should we throttle them? It
can also be configured to throttle or ban IP address ranges with
App::Cerberus::Plugin::Throttle. CONFIG The basic configuration
("servers" and "timeout") are passed to "new()" in
App::Cerberus::Client. plugins: Cerberus: servers:
http://localhost:5001/ Or plugins: Cerberus: servers: -
http://host1:5001/ - http://host2:5001/ timeout: 0.1 If you are
using the App::Cerberus::Plugin::Throttle plugin, then you can
also configure: plugins: Cerberus: servers:
http://localhost:5001/ throttle: log_as: info enforce: 0 | 1 If
"log_as" is on