Documentation ¶
Index ¶
- type Connections
- func (c *Connections) ClosePostgreSQL() *sql.DB
- func (c *Connections) GetMongoDatabase() string
- func (c *Connections) GetMongoTemplate() *mongo.Client
- func (c *Connections) GetPgsqTemplate() *gorm.DB
- func (c *Connections) InitializeDatabases(conf *properties.Properties)
- func (c *Connections) InitializeTestDatabases(p *properties.Properties)
- type MongoDatabase
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Connections ¶
var Conn *Connections
func (*Connections) ClosePostgreSQL ¶
func (c *Connections) ClosePostgreSQL() *sql.DB
func (*Connections) GetMongoDatabase ¶
func (c *Connections) GetMongoDatabase() string
func (*Connections) GetMongoTemplate ¶
func (c *Connections) GetMongoTemplate() *mongo.Client
func (*Connections) GetPgsqTemplate ¶
func (c *Connections) GetPgsqTemplate() *gorm.DB
func (*Connections) InitializeDatabases ¶
func (c *Connections) InitializeDatabases(conf *properties.Properties)
func (*Connections) InitializeTestDatabases ¶
func (c *Connections) InitializeTestDatabases(p *properties.Properties)
type MongoDatabase ¶
Click to show internal directories.
Click to hide internal directories.