fix: Changes types for BackendInterface.
This commit is contained in:
parent
fd133f8be9
commit
345a462b83
1 changed files with 2 additions and 1 deletions
|
@ -16,7 +16,8 @@ export interface BackendInterface {
|
|||
addConnection(sourceIP: string, sourcePort: number, destPort: number, protocol: "tcp" | "udp"): void;
|
||||
removeConnection(sourceIP: string, sourcePort: number, destPort: number, protocol: "tcp" | "udp"): void;
|
||||
|
||||
run(): Promise<void>,
|
||||
start(): Promise<boolean>,
|
||||
stop(): Promise<boolean>,
|
||||
|
||||
getAllConnections(): {
|
||||
sourceIP: string,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue