stefannegele / redisK

A kotlin multiplatform redis client library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

redisK

A kotlin multiplatform redis client library.

This is not ready for production usage!

The kotlin/native implementation is based on hiredis - so kudos.

Even though this is working, and the interfaces are kind of stable, the implementations are not. For now, the only platforms I tested this lib on, are macOs and Linux(Ubuntu).

Planned Milestones

  • Stabilize interfaces (and add a documentation, for sure)
  • Revisit implementations
  • Secured connection support
  • Extension functions for all redis commands (maybe move those to own modules)
  • Multithreading for connection pool (with Kotlin 1.4 and a stable coroutine multithreading support for k/n)
  • Support for other platforms (JVM, JS, ...)

Test

In order to run the tests, a redis instance must be running on localhost:6379 (redis default).

./gradlew nativeTest

Build

Prerequisites

Ubuntu

apt-get install libhiredis-dev

macOS

brew install hiredis

About

A kotlin multiplatform redis client library

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:Kotlin 100.0%