Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MysqlConnectionPool ¶
type MysqlConnectionPool struct{}
func GetMySqlConnection ¶
func GetMySqlConnection() *MysqlConnectionPool
func (*MysqlConnectionPool) GetMySqlDB ¶
func (m *MysqlConnectionPool) GetMySqlDB() (dbConnection *gorm.DB)
func (*MysqlConnectionPool) InitConnectionPool ¶
func (m *MysqlConnectionPool) InitConnectionPool() bool
type RedisConnectPool ¶
type RedisConnectPool struct{}
func GetRedisConnection ¶
func GetRedisConnection() *RedisConnectPool
func (*RedisConnectPool) GetRedisClient ¶
func (r *RedisConnectPool) GetRedisClient() *redis.Client
func (*RedisConnectPool) InitialRedisClient ¶
func (r *RedisConnectPool) InitialRedisClient() bool
Click to show internal directories.
Click to hide internal directories.