UNPKG

memcached-node

Version:
18 lines (17 loc) 503 B
import * as Hashring from "hashring"; export interface ServerOptions { basicAuth: BasicAuth; } export interface BasicAuth { username: string; password: string; } export declare class Server { url: string; host: string; port: number; private _options; constructor(url: string, options?: Partial<ServerOptions>); } export declare type ServerConfigs = Record<string, number | ServerConfig>; export declare type ServerConfig = Partial<Hashring.ServerConfig & ServerOptions>;