Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Dude::Redis
Inherits
Dude::Store
<
Struct
<
Value
<
Object
Constructors
new
(client : ::
Redis::Client
, namespace :
Symbol
|
String
= :dude)
Source
new
(url :
String
, namespace = :dude)
Source
new
(url :
URI
, namespace = :dude)
Source
Instance methods
client
Source
delete
(key :
Symbol
|
String
)
Source
get
(key :
Symbol
|
String
) :
String
|
Nil
Source
key
Source
set
(key :
Symbol
|
String
, value, expire)
Source
transaction
Source
truncate
Source
Nested types
Dude::Redis::Key
Dude::Redis::Transaction