vertx / io.vertx.kotlin.ext.consul / DcCoordinates

DcCoordinates

fun DcCoordinates(datacenter: String? = null, servers: Iterable<Coordinate>? = null): DcCoordinates

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

Holds coordinates of servers in datacenter

Parameters

datacenter - Set datacenter

servers - Set list of servers in datacenter