perl-AnyEvent-Consul-0.005-alt1.noarch.rpm


Advertisement

Description

perl-AnyEvent-Consul - Make async calls to Consul via AnyEvent

Distribution: ALT Linux Sisyphus
Repository: Autoimports noarch
Package name: perl-AnyEvent-Consul
Package version: 0.005
Package release: alt1
Package architecture: noarch
Package type: rpm
Installed size: 22.56 KB
Download size: 22.56 KB
Official Mirror: ftp.altlinux.org
AnyEvent::Consul is a thin wrapper around the Consul manpage to connect it to the AnyEvent::HTTP manpage for asynchronous operation. It takes the same arguments and methods as the Consul manpage itself, so see the documentation for that module for details. The important difference is that you must pass the `cb' option to the endpoint methods to enable their asynchronous mode. There's also a `on_error' argument. If you pass in a coderef for this argument, it will be called with a single string arg whenever something goes wrong internally (usually a HTTP failure). Use it to safely log or cleanup after the error.

Alternatives

Requires

Provides

  • perl(AnyEvent/Consul.pm) = 0.005
  • perl-AnyEvent-Consul = 0.005-alt1

    Install Howto

    1. Add the following line to /etc/apt/sources.list:
      rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
      rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
      
    2. Update the package index:
      # sudo apt-get update
    3. Install perl-AnyEvent-Consul rpm package:
      # sudo apt-get install perl-AnyEvent-Consul

    Files

    • /usr/share/doc/perl-AnyEvent-Consul-0.005/Changes
    • /usr/share/doc/perl-AnyEvent-Consul-0.005/LICENSE
    • /usr/share/doc/perl-AnyEvent-Consul-0.005/README
    • /usr/share/perl5/AnyEvent/Consul.pm
    Advertisement
    Advertisement