許家瑋 > HTTP-Balancer > HTTP::Balancer::Actor::Nginx

Download:
HTTP-Balancer-0.0.2.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

HTTP::Balancer::Actor::Nginx - the Nginx actor

SYNOPSIS ^

    my $actor = HTTP::Balancer::Actor::Nginx->new;

    $actor->start(
        pidfile => "/tmp/http-balancer.pid",
        hosts   => [
            $host1->hash,
            $host2->hash,
        ],
    );

    $actor->stop(
        pidfile => "/tmp/http-balancer.pid",
    );
syntax highlighting: