Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Ctx = context.TODO()
)
Functions ¶
This section is empty.
Types ¶
type RedisDatabase ¶
func (*RedisDatabase) GetKeyFromRedis ¶
func (db *RedisDatabase) GetKeyFromRedis(key string) ([]byte, int)
Gets the value using its key from redis
func (*RedisDatabase) InsertKeyToRedis ¶
func (db *RedisDatabase) InsertKeyToRedis(key string, value string) string
Insert a key value pair to redis
Click to show internal directories.
Click to hide internal directories.