config

package
v0.0.0-...-81ebf7a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 18, 2019 License: MIT Imports: 10 Imported by: 0

README

Config

Contains all config files

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateMsSQLDBConnection

func CreateMsSQLDBConnection(descriptor string) *sql.DB

CreateMSSQLDBConnection function for creating database connection

func CreatePostgresDBConnection

func CreatePostgresDBConnection(descriptor string) *sql.DB

CreatePostgresDBConnection function for creating database connection

func GetInMemoryDb

func GetInMemoryDb() map[string]*model.Member

GetInMemoryDb return *model.Member map, this fake database just for testing purposes only

func GetMsSQLDB

func GetMsSQLDB() *sql.DB

GetMsSQLDB function for creating database connection from MSSQL Database

func GetPostgresDB

func GetPostgresDB() *sql.DB

GetPostgresDB function for creating database connection from Postgres Database

func GetRedis

func GetRedis(redisHost, redisTLS, redisPassword, redisPort string) (*redis.Client, error)

GetRedis return *redis.Client

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL