UNPKG

sdg-admin

Version:

pomelo sdg admin plugin

18 lines (17 loc) 513 B
/** * master主动拉取 */ import { EModuleAction, IModule, IModuleOpts, MasterAgent, MonitorAgent } from '..'; export declare class NodeInfo implements IModule { static moduleId: string; type: EModuleAction; interval: number; delay: number; constructor(opts?: IModuleOpts); monitorHandler(agent: MonitorAgent): Promise<{ serverId: string; pid: number; }>; masterHandler(agent: MasterAgent): Promise<void>; clientHandler(agent: MasterAgent): Promise<any>; }