Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectPostgresql ¶
ConnectPostgresql creates a postgresql db connection, and sends back a pointer to the object along with any errors
func ConnectPostgresqlConfig ¶
func ConnectPostgresqlConfig(config pgx.ConnConfig) (*pgx.Conn, error)
ConnectPostgresqlConfig creates a postgresql db connection with a manual config, and sends back a pointer to the object along with any errors
func ConnectRedis ¶
ConnectRedis creates a redis db connection, and sends back a pointer to the object
Types ¶
type DataManager ¶
type DataManager struct {
// contains filtered or unexported fields
}
DataManager contains the redis pool, the pgdb connection
Click to show internal directories.
Click to hide internal directories.