Documentation ¶
Index ¶
- func CreateMsSQLDBConnection(descriptor string) *sql.DB
- func CreatePostgresDBConnection(descriptor string) *sql.DB
- func GetInMemoryDb() map[string]*model.Member
- func GetMsSQLDB() *sql.DB
- func GetPostgresDB() *sql.DB
- func GetRedis(redisHost, redisTLS, redisPassword, redisPort string) (*redis.Client, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateMsSQLDBConnection ¶
CreateMSSQLDBConnection function for creating database connection
func CreatePostgresDBConnection ¶
CreatePostgresDBConnection function for creating database connection
func GetInMemoryDb ¶
GetInMemoryDb return *model.Member map, this fake database just for testing purposes only
func GetMsSQLDB ¶
GetMsSQLDB function for creating database connection from MSSQL Database
func GetPostgresDB ¶
GetPostgresDB function for creating database connection from Postgres Database
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.