Consul

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

      "runtime" : {
         "requires" : {
            "Carp" : "0",
            "Convert::Base64" : "0",
            "HTTP::Tiny" : "0.014",
            "Hash::MultiValue" : "0",
            "JSON::MaybeXS" : "0",
            "Moo" : "0",
            "Moo::Role" : "0",
            "Scalar::Util" : "0",
            "Try::Tiny" : "0",
            "Type::Utils" : "0",
            "Types::Standard" : "0",
            "URI::Escape" : "0",
            "namespace::autoclean" : "0"
         }
      },
      "test" : {
         "requires" : {
            "Net::EmptyPort" : "0",
            "Test::Consul" : "0.014",

META.yml  view on Meta::CPAN

name: Consul
requires:
  Carp: '0'
  Convert::Base64: '0'
  HTTP::Tiny: '0.014'
  Hash::MultiValue: '0'
  JSON::MaybeXS: '0'
  Moo: '0'
  Moo::Role: '0'
  Scalar::Util: '0'
  Try::Tiny: '0'
  Type::Utils: '0'
  Types::Standard: '0'
  URI::Escape: '0'
  namespace::autoclean: '0'
resources:
  bugtracker: https://github.com/robn/Consul/issues
  homepage: https://github.com/robn/Consul
  repository: https://github.com/robn/Consul.git
version: '0.027'
x_Dist_Zilla:

Makefile.PL  view on Meta::CPAN

  "NAME" => "Consul",
  "PREREQ_PM" => {
    "Carp" => 0,
    "Convert::Base64" => 0,
    "HTTP::Tiny" => "0.014",
    "Hash::MultiValue" => 0,
    "JSON::MaybeXS" => 0,
    "Moo" => 0,
    "Moo::Role" => 0,
    "Scalar::Util" => 0,
    "Try::Tiny" => 0,
    "Type::Utils" => 0,
    "Types::Standard" => 0,
    "URI::Escape" => 0,
    "namespace::autoclean" => 0
  },
  "TEST_REQUIRES" => {
    "Net::EmptyPort" => 0,
    "Test::Consul" => "0.014",
    "Test::Exception" => 0,
    "Test::More" => 0,

Makefile.PL  view on Meta::CPAN

  "HTTP::Tiny" => "0.014",
  "Hash::MultiValue" => 0,
  "JSON::MaybeXS" => 0,
  "Moo" => 0,
  "Moo::Role" => 0,
  "Net::EmptyPort" => 0,
  "Scalar::Util" => 0,
  "Test::Consul" => "0.014",
  "Test::Exception" => 0,
  "Test::More" => 0,
  "Try::Tiny" => 0,
  "Type::Utils" => 0,
  "Types::Standard" => 0,
  "URI::Escape" => 0,
  "namespace::autoclean" => 0,
  "strict" => 0,
  "warnings" => 0
);


unless ( eval { ExtUtils::MakeMaker->VERSION(6.63_03) } ) {

lib/Consul.pm  view on Meta::CPAN

package Consul;
$Consul::VERSION = '0.027';
# ABSTRACT: Client library for consul

use namespace::autoclean;

use HTTP::Tiny 0.014;
use URI::Escape qw(uri_escape);
use JSON::MaybeXS qw(JSON);
use Hash::MultiValue;
use Try::Tiny;
use Carp qw(croak);

use Moo;
use Type::Utils qw(class_type);
use Types::Standard qw(Str Int Bool HashRef CodeRef);

has host => ( is => 'ro', isa => Str, default => sub { '127.0.0.1' } );
has port => ( is => 'ro', isa => Int, default => sub { 8500 } );

has ssl => ( is => 'ro', isa => Bool, default => sub { 0 } );



( run in 0.630 second using v1.01-cache-2.11-cpan-05444aca049 )