Documentation ¶
Index ¶
- func Database(dialect, fname string) (*gorm.DB, error)
- func GetOrDefault(keys map[string]interface{}, key, def string) (string, bool)
- func GetRedisClient(addr string) *redis.Client
- func MarshalIntoRedis(f interface{}, r *redis.Client, key string) error
- func PanfromMobile(username string, r *redis.Client) (string, bool)
- func RedisHelper(s []string) ebs_fields.CardsRedis
- func SaveRedisList(r *redis.Client, key string, value interface{}) error
- func StringsToBytes(s []string) (bytes.Buffer, error)
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetRedisClient ¶
func GetRedisClient(addr string) *redis.Client
GetRedisClient returns a *redis.Client instance
func MarshalIntoRedis ¶
MarshalIntoRedis marshals a type interface{} into a redis data
func PanfromMobile ¶
func RedisHelper ¶
func RedisHelper(s []string) ebs_fields.CardsRedis
func SaveRedisList ¶
SaveRedisList saves to a list in redis
Types ¶
Click to show internal directories.
Click to hide internal directories.