snort/packages/system/src/relay-metric-handler.ts
2023-07-22 19:37:46 +01:00

14 lines
329 B
TypeScript

import { FeedCache } from "@snort/shared";
import { Connection } from "connection";
import { RelayMetrics } from "cache";
export class RelayMetricHandler {
readonly #cache: FeedCache<RelayMetrics>;
constructor(cache: FeedCache<RelayMetrics>) {
this.#cache = cache;
}
onDisconnect(c: Connection, code: number) {}
}