15 lines
288 B
TypeScript
15 lines
288 B
TypeScript
import { Host } from './Host';
|
|
import { Service } from './Service';
|
|
import { MetaPortType } from '../meta';
|
|
|
|
export interface Port {
|
|
metaPortType?: MetaPortType;
|
|
portNumber?: number;
|
|
meta?: Map<string, string>;
|
|
|
|
discoveredDate?: Date;
|
|
|
|
host?: Host;
|
|
serviceList?: Service[];
|
|
}
|