All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.kinoplan.utils.redisson.codec.DefaultRedisEncoders.scala Maven / Gradle / Ivy

package io.kinoplan.utils.redisson.codec

trait DefaultRedisEncoders {
  implicit val stringRedisEncoder: RedisEncoder[String] = identity[String]
  implicit val intRedisEncoder: RedisEncoder[Int] = _.toString
  implicit val longRedisEncoder: RedisEncoder[Long] = _.toString
}

object DefaultRedisEncoders extends DefaultRedisEncoders




© 2015 - 2025 Weber Informatics LLC | Privacy Policy