Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: bfb10fe652
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (17 sloc) 0.423 kB
package Angelos::Types;
use Mouse;
use Angelos::PSGI::ServerGatewayBuilder;
use MouseX::Types - declare => [
qw(
ServerGateway
)
];
use MouseX::Types::Mouse qw(HashRef);
subtype ServerGateway;
coerce ServerGateway, from HashRef, via {
my $module = $_->{module};
my $args = $_->{args};
my $server = Angelos::PSGI::ServerGatewayBuilder->build( $module, $args );
return $server;
};
1;
Jump to Line
Something went wrong with that request. Please try again.