Skip to content

barakb/consul-client

Repository files navigation

Build Status Download Maven Central GitHub License

A Kotlin Consul client

A Kotlin lightweight fully async consul client with minimal dependencies.

To consume this project using maven add the following to your pom.xml

<dependency>
     <groupId>com.github.barakb</groupId>
     <artifactId>consul-client</artifactId>
     <version>0.9.3</version>
</dependency>

Or gradle

implementation("com.github.barakb:consul-client:0.9.3")
Usage:

To create a Nomad client Kotlin DSL can be used.

    val client = ConsulClient {
        address = "http://127.0.0.1:4646"
    }

Https address can be used as well.

About

A Kotlin consul client

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages