Exktor - Extension modules for Ktor
Extension modules for Ktor
ExKtor – it’s set of extension libraries for Ktor that simplify integration with 3rd party applications.
Modules
Quick start
This guide shows how to setup ktor-elastic
Maven
<repositories>
<repository>
<id>jcenter</id>
<name>jcenter</name>
<url>http://jcenter.bintray.com</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>net.paslavsky</groupId>
<artifactId>ktor-elastic</artifactId>
<version>${exktor.version}</version>
</dependency>
</dependencies>
Gradle
repositories {
jcenter()
}
dependencies {
implementation "net.paslavsky:ktor-elastic:$exktorVersion"
}
Configuring Elastic Rest Client
fun Application.module() {
install(ElasticFeature) {
hosts = arrayOf("http://my-elastic-host.com")
}
// ...
}
For more details please see module documentation
Contributing
Please use Issues to propose new ideas or report the bug.
PR are welcome if you know how to fix or/and improve something ?