UserDataRedisImpl

abstract class UserDataRedisImpl(host: String = "localhost", port: Int = 6379) : UserData<String> (source)

Constructors

Link copied to clipboard
constructor(host: String = "localhost", port: Int = 6379)

Properties

Link copied to clipboard
open val redis: ReThis

Functions

Link copied to clipboard
open override fun del(telegramId: Long, key: String)
Link copied to clipboard
open suspend override fun delAsync(telegramId: Long, key: String): Deferred<Boolean>
Link copied to clipboard
open operator override fun get(telegramId: Long, key: String): String?
open operator fun get(user: User, key: String): String?
Link copied to clipboard
open suspend override fun getAsync(telegramId: Long, key: String): Deferred<String?>
Link copied to clipboard
open operator override fun set(telegramId: Long, key: String, value: String?)
open operator fun set(user: User, key: String, value: String?)
Link copied to clipboard
open suspend override fun setAsync(telegramId: Long, key: String, value: String?): Deferred<Boolean>