Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultDbDriverName = "mongodb"
)
Functions ¶
func RegisterDbDriver ¶
RegisterDbDriver registers a new DB driver
Types ¶
type DbDriver ¶
type DbDriver struct { TeamService auth.TeamService PlatformService app.PlatformService PlanService app.PlanService CacheService cache.CacheService }
func GetCurrentDbDriver ¶
GetCurrentDbDriver returns the DB driver specified in the configuration file. If this configuration was omitted, it returns the default DB driver
func GetDbDriver ¶
GetDbDriver returns the DB driver that was registered with a specific name
func GetDefaultDbDriver ¶
GetDefaultDbDriver returns the default DB driver
Click to show internal directories.
Click to hide internal directories.