Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( HOST = os.Getenv("PG_HOST") USER = os.Getenv("PG_USER") PASSWORD = os.Getenv("PG_PASS") DB = os.Getenv("PG_DB") PORT = os.Getenv("PG_PORT") PgDB *gorm.DB )
View Source
var ( RedisHost = os.Getenv("REDIS_HOST") RedisPort = os.Getenv("REDIS_PORT") Client *redis.Client )
Functions ¶
func CloseRedis ¶
func CreateAdminUser ¶
func MigrateTables ¶
func RedisClient ¶
func RedisClient() error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.