The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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