grpc-server-ts
Version:
a grpc server side module built by typescrpt
22 lines (21 loc) • 624 B
TypeScript
import * as GRPC from 'grpc';
export declare class RpcRegistry {
private static _port;
private static _host;
private static _ca;
private static _cert;
private static _key;
private static _credentials;
static readonly port: string | number;
static readonly host: string;
static readonly ca: string;
static readonly cert: string;
static readonly key: string;
private static _server;
static readonly server: GRPC.Server;
static start(): void;
private static _start;
private static _loadSettings;
private static _registryService;
private static _addTls;
}