UNPKG

express-gateway-service-registry

Version:

With self-registration, each microservice is responsible for adding itself to the gateway when it comes online.

23 lines (22 loc) 486 B
/** * Interface defining the component's options object */ export interface GatewayServiceRegistryComponentOptions { } /** * Default options for the component */ export declare const DEFAULT_SERVICE_REGISTRY_OPTIONS: GatewayServiceRegistryComponentOptions; export interface Config { name: string; path: string; host: string; backend: { url?: string; urls?: string[]; }; gateway?: { baseUrl?: string; apiBaseUrl?: string; }; }