24 lines
554 B
TypeScript
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;
|
|
}
|