UNPKG

lemon-engine

Version:

Lemon Engine Module to Synchronize Node over DynamoDB + ElastiCache + Elasticsearch by [lemoncloud](https://lemoncloud.io)

25 lines (24 loc) 756 B
/** * Redis Proxy Service Exports * - proxy call to redis service. * * * * @author steve@lemoncloud.io * @date 2019-05-23 * @copyright (C) lemoncloud.io 2019 - All Rights Reserved. */ import { EnginePluggable, EnginePluginBuilder } from '../common/types'; export interface RedisProxy extends EnginePluggable { /** * get the current endpoint address. */ endpoint: () => string; do_create_item: (PKEY: any, id: any, item: any, timeout?: any) => any; do_get_item: (PKEY: any, id: any) => any; do_update_item: (PKEY: any, id: any, item: any) => any; do_delete_item: (PKEY: any, id: any) => any; do_test_self: (options?: any) => any; } declare const maker: EnginePluginBuilder<RedisProxy>; export default maker;