UNPKG

zookeeper-commands

Version:

A node.js client to run ZooKeeper Commands the four letter words.

18 lines (17 loc) 476 B
export * from './client'; export declare class Zookeeper { private options; constructor(options?: IOptions); command(command: string, callback?: (err: any, data: any) => void): Promise<any>; } export interface IOptions { host: string; port: number; timeout_ms: number; } export declare class Options implements IOptions { host: string; port: number; timeout_ms: number; constructor(host?: string, port?: number, timeout_ms?: number); }