package
Version:
v1.6.2
Opens a new window with list of versions in this module.
Published: Sep 28, 2022
License: MIT
Opens a new window with license information.
Imports: 17
Opens a new window with list of imports.
Imported by: 13
Opens a new window with list of known importers.
Documentation
¶
Package database handles connections to different
types of databases
RedisConnTTL - context deadline in second
GetMongo - get a connection
func GetRedis() *radix.Client
GetRedis - get a connection
InitDB - function to initialize db
InitMongo - function to initialize mongo client
func InitRedis() (*radix.Client, error)
InitRedis - function to initialize redis client
Source Files
¶
Directories
¶
Package migrate to migrate the schema
|
Package migrate to migrate the schema |
Package model contains all the models required for a functional database management system
|
Package model contains all the models required for a functional database management system |
Click to show internal directories.
Click to hide internal directories.