mirror of
https://github.com/fosrl/pangolin.git
synced 2026-09-09 12:36:16 +02:00
24 lines
629 B
TypeScript
24 lines
629 B
TypeScript
/*
|
|
* This file is part of a proprietary work.
|
|
*
|
|
* Copyright (c) 2025-2026 Fossorial, Inc.
|
|
* All rights reserved.
|
|
*
|
|
* This file is licensed under the Fossorial Commercial License.
|
|
* You may not use this file except in compliance with the License.
|
|
* Unauthorized use, copying, modification, or distribution is strictly prohibited.
|
|
*
|
|
* This file is not licensed under the AGPLv3.
|
|
*/
|
|
|
|
import { EventEmitter } from "events";
|
|
|
|
export interface ExitNodeOnlineEvent {
|
|
exitNodeId: number;
|
|
endpoint: string;
|
|
}
|
|
|
|
export const EXIT_NODE_ONLINE_EVENT = "exit-node-online";
|
|
|
|
export const exitNodeEvents = new EventEmitter();
|