@iredium/butterfly
Version:
Express API Framework
9 lines (8 loc) • 318 B
TypeScript
import { Database } from "./database";
export declare class Redis extends Database {
name: string;
get(key: string, callback?: Function | null): Promise<string>;
set(key: any, value: any, expireTimeInMiliseconds?: null, callback?: Function | null): void;
connect(): Promise<void>;
close(): void;
}