許家瑋 > HTTP-Balancer-0.0.2 > HTTP::Balancer::Role

Download:
HTTP-Balancer-0.0.2.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

HTTP::Balancer::Role - base of all roles in HTTP::Balancer

SYNOPSIS ^

    package HTTP::Balancer::Role::Any;
    use Modern::Perl;
    use Moose::Role;
    with qw(HTTP::Balancer::Role);

    # your code goes here

    no Moose::Role;

model($name)

given the last name of a model, returns the whole name of the model, and requires this model.

actor($name)

config()

return the singleton of the configuration.

NAME ^

HTTP::Balancer::Role - base of all roles of HTTP::Balancer

SYNOPSIS ^

    package HTTP::Balancer::Role::Foo;
    use Moose::Role;
    with qw( HTTP::Balancer::Role );
syntax highlighting: