Kotlin Library for use Tarantool
You must add repository. See README
dependencies {
api "pw.binom.io:tarantool-client:<version>"
}
val connection = TarantoolConnection.connect(
address = NetworkAddress.Immutable(host="127.0.0.1", port=3301),
userName = "admin",
password = "admin"
)
connection.ping()
connection.asyncClose() // connection implements `AsyncCloseable` and can be used like `connection.use{ connection ->}`