Server API

Purely functional interface for the Server API.

Server Commands usage

Once you have acquired a connection you can start using it:

import cats.effect.IO

def putStrLn(str: String): IO[Unit] = IO(println(str))

commandsApi.use { redis => // ServerCommands[IO]
  redis.flushAll
}