Consul::API::Catalog - Catalog (nodes and services) API
use Consul; my $catalog = Consul->catalog; say for map { $_->name} @{$catalog->nodes};
The catalog API is used to register and deregister nodes, services and checks. It also provides query endpoints.
This API is fully documented at https://www.consul.io/docs/agent/http/catalog.html.
L<Consul>
To install Consul, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Consul
CPAN shell
perl -MCPAN -e shell install Consul
For more information on module installation, please visit the detailed CPAN module installation guide.