vertx / io.vertx.kotlin.ext.consul / ServiceOptions

ServiceOptions

fun ServiceOptions(address: String? = null, checkOptions: CheckOptions? = null, id: String? = null, meta: Map<String, String>? = null, name: String? = null, port: Int? = null, tags: Iterable<String>? = null): ServiceOptions

A function providing a DSL for building io.vertx.ext.consul.ServiceOptions objects.

Options used to register service.

Parameters

address - Set service address

checkOptions - Set check options of service

id - Set the ID of session

meta - Specifies arbitrary KV metadata linked to the service instance.

name - Set service name

port - Set service port

tags - Set list of tags associated with service