UNPKG

@haku-sci/utils

Version:

utils from haku-sci. Library only

10 lines (9 loc) 301 B
import * as net from 'net'; import { Logger } from '@nestjs/common'; export declare class Consul { static registerService(serverAddress: net.AddressInfo, logger: Logger): Promise<void>; static getServiceURI(serviceName: string): Promise<{ host: string; port: number; }>; }