UNPKG

tinkerhub-discovery

Version:

Standardized API for service discovery and publishing

13 lines (11 loc) 288 B
import { Service } from '../service'; import { HostAndPort } from './host-and-port'; /** * Service that is tied to one network address. */ export interface SingleAddressService extends Service { /** * The address this service is available at. */ readonly address: HostAndPort; }