UNPKG

@microfleet/core

Version:
20 lines (19 loc) 562 B
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;