dev.profunktor.redis4cats.effect

Members list

Concise view

Type members

Classlikes

object FutureLift

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
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._

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
object Log

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Log.type
sealed trait MkRedis[F[_]]

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

MkRedis is a capability trait that abstracts over the creation of RedisClient, RedisClusterClient, 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.

Attributes

Companion:
object
Graph
Supertypes
class Object
trait Matchable
class Any
object MkRedis

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
MkRedis.type