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) • 373 B
TypeScript
import { AtlasClient } from '../atlas/atlas.client';
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 getAtlasClient(): AtlasClient;