open fun registerService(serviceOptions: ServiceOptions, resultHandler: Handler<AsyncResult<Void>>): ConsulClient
Adds a new service, with an optional health check, to the local agent.
serviceOptions - the options of new service
resultHandler - will be called when complete
Return
reference to this, for fluency