MkRedis

dev.profunktor.redis4cats.effect.MkRedis
See theMkRedis companion object
sealed trait MkRedis[F[_]]

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

Members list

Concise view

Value members

Abstract methods

def clientCustom(uri: => RedisURI, opts: ClientOptions, config: Redis4CatsConfig): Resource[F, RedisClient]
def clientFrom(strUri: => String): Resource[F, RedisClient]
def clientWithOptions(strUri: => String, opts: ClientOptions): Resource[F, RedisClient]