@m-ld/gateway
Version:
m-ld gateway for services
11 lines (10 loc) • 357 B
TypeScript
import LRUCache from 'lru-cache';
import { SubdomainClone } from './SubdomainClone';
import { GatewayConfig } from './index';
/**
* All mutating access to the cache should be serialised with m-ld states
*/
export declare class SubdomainCache extends LRUCache<string, SubdomainClone> {
constructor(config: GatewayConfig);
clear(): Promise<void>;
}