許家瑋
and 1 contributors

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 );