scala import com.github.rediscala.Redis object ScredisExample { def main(args: Array[String]): Unit = { val redis = Redis("localhost", 6379) redis.set("key", "value") val value = redis.get("key") println(value) redis.del("key") redis.quit() } }