NAME
Mercury::Command::mercury::broker - Mercury message broker command
VERSION
version 0.016
SYNOPSIS
Usage: mercury broker [OPTIONS]
mercury broker
mercury broker -m production -l http://*:8080
mercury broker -l http://127.0.0.1:8080 -l https://[::]:8081
mercury broker -l 'https://*:443?cert=./server.crt&key=./server.key'
Options:
-m, --mode <mode> Set the mode, defaults to the value
of MOJO_MODE, PLACK_ENV, or
"development"
-b, --backlog <size> Listen backlog size, defaults to
SOMAXCONN
-c, --clients <number> Maximum number of concurrent
connections, defaults to 1000
-i, --inactivity-timeout <seconds> Inactivity timeout, defaults to 4
hours
-l, --listen <location> One or more locations you want to
listen on, defaults to the value of
MOJO_LISTEN or "http://*:3000"
-p, --proxy Activate reverse proxy support,
defaults to the value of
MOJO_REVERSE_PROXY
DESCRIPTION
Mercury::Command::broker starts the Mercury application.
ATTRIBUTES
description
my $description = $cmd->description;
$cmd = $cmd->description('Foo');
Short description of this command, used for the command list.
usage
my $usage = $cmd->usage;
$cmd = $cmd->usage('Foo');
Usage information for this command, used for the help screen.
METHODS
run
$cmd->run(@ARGV);
Run this command.
SEE ALSO
AUTHOR
Doug Bell <preaction@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2018 by Doug Bell.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.