Module vibe.db.redis.idioms
Type safe implementations of common Redis storage idioms.
Note that the API is still subject to change!
Functions
Name | Description |
---|---|
jsonEncoded(value)
|
|
redisStrip(val)
|
Strips all non-Redis fields from a struct. |
Structs
Name | Description |
---|---|
JsonEncoded
|
|
LazyString
|
|
RedisCollection
|
|
RedisLock
|
|
RedisObject
|
Models a single strongly typed object. |
RedisObjectField
|
|
RedisStripped
|
Represents the stripped type of a struct. |
Enums
Name | Description |
---|---|
RedisCollectionOptions
|
Aliases
Name | Type | Description |
---|---|---|
RedisHashCollection
|
RedisCollection!(RedisHash,OPTIONS,ID_LENGTH)
|
Models a set of numbered hashes. |
RedisListCollection
|
RedisCollection!(RedisList!T,OPTIONS,ID_LENGTH)
|
Models a strongly typed numbered set of values. |
RedisObjectCollection
|
RedisCollection!(RedisObject!T,OPTIONS,ID_LENGTH)
|
Models a strongly typed set of numbered hashes. |
RedisSetCollection
|
RedisCollection!(RedisSet!T,OPTIONS,ID_LENGTH)
|
Models a strongly typed numbered set of values. |
RedisStringCollection
|
RedisCollection!(RedisString!T,OPTIONS,ID_LENGTH)
|
Models a strongly typed numbered set of values. |