dev.profunktor.redis4cats.effect

Type members

Classlikes

object FutureLift
trait Log[F[_]]

Typeclass used for internal logging such as acquiring and releasing connections.

Typeclass used for internal logging such as acquiring and releasing connections.

It is recommended to use log4cats for production usage but if you do not want the extra dependency, you can opt to use either of the simple instances provided.

If you don't need logging at all, you can use Log.NoOp

import dev.profunktor.redis4cats.effect.Log.NoOp._

If you need simple logging to STDOUT for quick debugging, you can use Log.Stdout

import dev.profunktor.redis4cats.effect.Log.Stdout._
Companion
object
object Log
Companion
class
@implicitNotFound("MkRedis instance not found. You can summon one by having instances for cats.effect.Async and dev.profunktor.redis4cats.effects.Log in scope")
sealed trait MkRedis[F[_]]

MkRedis is a capability trait that abstracts over the creation of RedisClient, RedisClusterClient, RedisExecutor, among other things.

MkRedis is a capability trait that abstracts over the creation of RedisClient, RedisClusterClient, RedisExecutor, among other things.

It serves the internal purpose to orchastrate creation of such instances while avoiding impure constraints such as Async or Sync.

Users only need a MkRedis constraint and MonadThrow to create a Redis instance.

Companion
object
object MkRedis
Companion
class