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>jcenterid>
<name>jcentername>
<url>http://jcenter.bintray.comurl>
repository>
repositories>
<dependencies>
<dependency>
<groupId>net.paslavskygroupId>
<artifactId>ktor-elasticartifactId>
<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