vertx / io.vertx.kotlin.ext.consul / serviceListOf

# serviceListOf

`fun serviceListOf(index: Long? = null, list: Iterable<Service>? = null): ServiceList`

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

Holds result of services query

### Parameters

`index` - Set Consul index, a unique identifier representing the current state of the requested list of services

`list` - Set list of services