app/@overflow/model/discovery/Service.ts
crusader b893dcbebc ing
2018-09-17 23:19:16 +09:00

24 lines
554 B
TypeScript

import { Port } from './Port';
import { MetaCryptoType, MetaDiscovererType } 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?: MetaDiscovererType[];
discoveredDate?: Date;
port?: Port;
}