consul-client

A Kotlin Consul client

License

License

Categories

Categories

CLI User Interface
GroupId

GroupId

com.github.barakb
ArtifactId

ArtifactId

consul-client
Last Version

Last Version

0.9.3
Release Date

Release Date

Type

Type

jar
Description

Description

consul-client
A Kotlin Consul client
Project URL

Project URL

https://github.com/barakb/consul-client
Source Code Management

Source Code Management

https://github.com/barakb/consul-client

Download consul-client

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.barakb/consul-client/ -->
<dependency>
    <groupId>com.github.barakb</groupId>
    <artifactId>consul-client</artifactId>
    <version>0.9.3</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.barakb/consul-client/
implementation 'com.github.barakb:consul-client:0.9.3'
// https://jarcasting.com/artifacts/com.github.barakb/consul-client/
implementation ("com.github.barakb:consul-client:0.9.3")
'com.github.barakb:consul-client:jar:0.9.3'
<dependency org="com.github.barakb" name="consul-client" rev="0.9.3">
  <artifact name="consul-client" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.barakb', module='consul-client', version='0.9.3')
)
libraryDependencies += "com.github.barakb" % "consul-client" % "0.9.3"
[com.github.barakb/consul-client "0.9.3"]

Dependencies

runtime (7)

Group / Artifact Type Version
org.jetbrains.kotlinx : kotlinx-coroutines-core jar 1.4.1
org.apache.httpcomponents.client5 : httpclient5 jar 5.0.1
com.google.code.gson : gson jar 2.8.6
org.slf4j : slf4j-api jar 1.7.30
io.github.microutils : kotlin-logging jar 1.8.3
com.github.barakb : mini-rest-client jar 1.0.5
org.jetbrains.kotlin : kotlin-stdlib-jdk8 jar 1.4.20

Project Modules

There are no modules declared in this project.

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.

Versions

Version
0.9.3
0.9.1