Documentation ¶
Index ¶
- func DbConnect() (*sql.DB, error)
- func InitLogger()
- func Log(lvl, section, message string, params ...interface{})
- func ReadFromRedis(ctx context.Context, key string, cache *redis.Client) (string, error)
- func RedisConnect(ctx context.Context) (*redis.Client, error)
- func SaveToRedis(ctx context.Context, key string, data interface{}, exp int64, ...) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitLogger ¶
func InitLogger()
func ReadFromRedis ¶
func RedisConnect ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.