@microfleet/core
Version:
Abstract microservice core
20 lines (19 loc) • 566 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 Sentinel plugin.
* @param [conf={}] - Configuration for Redis Sentinel Connection.
* @returns Connections and Destructors.
*/
export declare function attach(this: Microfleet & ValidatorPlugin & RedisPlugin, opts?: any): PluginInterface;