Async-Microservice

 view release on metacpan or  search on metacpan

Build.PL  view on Meta::CPAN

    script_files   => [qw(
        bin/async-microservice-time.psgi
    )],
    add_to_cleanup => ['Async-Microservice-*'],
    create_readme  => 1,
    meta_merge     => {
        resources => {
            repository => 'https://github.com/jozef/Async-Microservice.git',
            bugtracker => 'https://github.com/jozef/Async-Microservice/issues',
        },
        keywords => [qw/ async asynchronous micro service http plack /],
    },
);

$builder->create_build_script();

META.json  view on Meta::CPAN

{
   "abstract" : "Async HTTP Microservice Moose Role",
   "author" : [
      "Jozef Kutej <jkutej@cpan.org>"
   ],
   "dynamic_config" : 1,
   "generated_by" : "Module::Build version 0.4229",
   "keywords" : [
      "async",
      "asynchronous",
      "micro",
      "service",
      "http",
      "plack"
   ],
   "license" : [
      "perl_5"
   ],
   "meta-spec" : {
      "url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",

META.yml  view on Meta::CPAN

  Pod::Simple::Text: '0'
  Test::Most: '0'
  Test::Time: '0'
  Test::WWW::Mechanize: '0'
configure_requires:
  Module::Build: '0.36'
dynamic_config: 1
generated_by: 'Module::Build version 0.4229, CPAN::Meta::Converter version 2.150010'
keywords:
  - async
  - asynchronous
  - micro
  - service
  - http
  - plack
license: perl
meta-spec:
  url: http://module-build.sourceforge.net/META-spec-v1.4.html
  version: '1.4'
name: Async-Microservice
provides:

README  view on Meta::CPAN


        # can be started using:
        plackup --port 8085 -Ilib --access-log /dev/null --server Twiggy bin/async-microservice-time.psgi
    
        curl "http://localhost:8085/v1/hcheck" -H "accept: application/json"
        curl "http://localhost:8085/v1/epoch"  -H "accept: application/json"
        curl "http://localhost:8085/v1/datetime?time_zone=local" -H "accept: application/json"

DESCRIPTION

    This is an example asynchronous http micro service using
    Async::Microservice. View the source code it's minimal.

METHODS

 service_name

    Just a name, used to identify process and look for OpenAPI
    documentation.

 get_routes

lib/Async/Microservice/Time.pm  view on Meta::CPAN


    # can be started using:
    plackup --port 8085 -Ilib --access-log /dev/null --server Twiggy bin/async-microservice-time.psgi

    curl "http://localhost:8085/v1/hcheck" -H "accept: application/json"
    curl "http://localhost:8085/v1/epoch"  -H "accept: application/json"
    curl "http://localhost:8085/v1/datetime?time_zone=local" -H "accept: application/json"

=head1 DESCRIPTION

This is an example asynchronous http micro service using L<Async::Microservice>.
View the source code it's minimal.

=head1 METHODS

=head2 service_name

Just a name, used to identify process and look for OpenAPI documentation.

=head2 get_routes



( run in 0.741 second using v1.01-cache-2.11-cpan-0d8aa00de5b )