Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DatabaseConn *sqlx.DB
Functions ¶
func GetDatabaseConn ¶
func InitDatabase ¶
func InitDatabase()
func InitRedisConn ¶
func InitRedisConn()
Types ¶
type RedisCache ¶
type RedisCache struct {
// contains filtered or unexported fields
}
RedisCache implementation of redis
var RedisConn RedisCache
func GetRedisConn ¶
func GetRedisConn() RedisCache
func (*RedisCache) MultiHashGetPipeline ¶
func (*RedisCache) MultiHashSetPipeline ¶
func (r *RedisCache) MultiHashSetPipeline(datas map[string][]string) (errs []error)
Click to show internal directories.
Click to hide internal directories.