UNPKG

node-consul-service

Version:

A robust Node.js service that integrates with HashiCorp Consul for service discovery and configuration management. This service provides a comprehensive solution for managing distributed systems and microservices architecture, making it easier to handle s

10 lines (9 loc) 340 B
import Consul from "consul"; export interface ConsulClientOptions { host?: string; port?: number; secure?: boolean; } export declare function toBoolean(value?: string | boolean | null): boolean; export declare function initClient({ host, port, secure, }: ConsulClientOptions): void; export declare function getClient(): Consul;