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
11 lines (10 loc) • 360 B
TypeScript
import { AxiosRequestHeaders, AxiosResponse, Method } from 'axios';
interface CallServiceOptions {
method?: Method;
path?: string;
data?: any;
headers?: AxiosRequestHeaders;
params?: Record<string, any>;
}
export declare function callStreamService(serviceName: string, options?: CallServiceOptions): Promise<AxiosResponse<any>>;
export {};