app/@overflow/model/discovery/Service.ts
crusader f5e98b36dc ing
2018-09-12 11:28:32 +09:00

24 lines
522 B
TypeScript

import { Port } from './Port';
import { MetaCryptoType } from '../meta';
export const defaultServiceType = 'ETC';
export const defaultServiceVendor = 'UNKNOWN';
export const defaultServiceVersion = 'UNKNOWN';
export interface Service {
metaCryptoType?: MetaCryptoType;
key?: string;
name?: string;
description?: string;
serviceType?: string;
serviceVendor?: string;
serviceVersion?: string;
meta?: Map<string, Map<string, string>>;
discoveredBy?: string[];
discoveredDate?: Date;
port?: Port;
}