grpc-tads6/node_modules/@grpc/grpc-js/build/src/admin.d.ts

12 lines
447 B
TypeScript
Raw Permalink Normal View History

2024-06-06 00:46:09 +00:00
import { ServiceDefinition } from './make-client';
import { Server, UntypedServiceImplementation } from './server';
interface GetServiceDefinition {
(): ServiceDefinition;
}
interface GetHandlers {
(): UntypedServiceImplementation;
}
export declare function registerAdminService(getServiceDefinition: GetServiceDefinition, getHandlers: GetHandlers): void;
export declare function addAdminServicesToServer(server: Server): void;
export {};