ServicesAPI
import type { ServicesAPI } from "https://raw.githubusercontent.com/nats-io/nats.deno/v1.28.0/nats-base-client/internal_mod.ts";
interface ServicesAPI {
add(config: ServiceConfig): Promise<Service>;
}§Methods
§
add(config: ServiceConfig): Promise<Service>
[src]Adds a Service
@param config
§
Returns a ServiceClient that can be used to interact with the observability aspects of the service (discovery, monitoring)
@param opts
@param prefix