RedisKM
A Kotlin Multiplatform Redis Client.
Also supports RedisJSON with built-in KotlinX Serialization support.
Version: 
Available for:



- mingwx64
- linuxX64
- macosX64
- macosArm64
- iosX64
secure connections are only supported on mingx64, JVM and JS
Now available for macos and linux
Introduction
You can build a new connection very easily with RedisClient:
val client = RedisClient.create(host = "URL", port = port, password = "password", user = "user")
client.connect()
client.put("login", "redis", expirationDuration = 10.hours)
val login = client.get<String>("login")
login = client.<RedisElement>()
login.persist()
login.expire(hours)
login.rename()
More information about Lists, Sets, the JSON module and more can be found in the Wiki.
Installation
dependencies {
implementation("io.github.jan-tennert.rediskm:RedisKM:VERSION")
}
If you want a specific target you can change the artifact id to RedisKM-[target]