open class ServiceDiscoveryRestEndpoint
Allows publishing the vert.x service discovery as a REST endpoint. It supports retrieving services, but also publish, withdraw and modify services.
Author
Clement Escoffier
static val DEFAULT_ROOT: String |
open static fun create(router: Router, discovery: ServiceDiscovery): ServiceDiscoveryRestEndpoint
Creates the REST endpoint using the default root ( open static fun create(router: Router, discovery: ServiceDiscovery, root: String): ServiceDiscoveryRestEndpoint
Creates the REST endpoint using the given root. |