Redis
inline fun <T : Any> Storage.Companion.Redis(uri: Uri, autoMarshalling: AutoMarshalling = Moshi, noinline ttl: (T) -> Duration = { ofHours(1) }): Storage<T>
Connect to Redis using Automarshalling
fun <T : Any> Storage.Companion.Redis(uri: Uri, codec: RedisCodec<String, T>, ttl: (T) -> Duration = { ofHours(1) }): Storage<T>
Connect to Redis using custom codec
fun <T : Any> Storage.Companion.Redis(redis: RedisCommands<String, T>, ttl: Duration = ofHours(1)): Storage<T>
Redis-backed storage implementation. You probably want to use one of the builder functions instead of this