@microfleet/core
Version:
Abstract microservice core
20 lines (19 loc) • 562 B
TypeScript
import { Microfleet, ValidatorPlugin, PluginInterface, RedisPlugin } from '../';
/**
* Plugin name
*/
export declare const name = "redis";
/**
* Plugin type
*/
export declare const type: "database";
/**
* Relative priority inside the same plugin group type
*/
export declare const priority = 0;
/**
* Attaches Redis Cluster plugin.
* @param [conf={}] - Configuration for Redis Cluster Connection.
* @returns Connections and Destructors.
*/
export declare function attach(this: Microfleet & ValidatorPlugin & RedisPlugin, opts?: any): PluginInterface;