Documentation
¶
Index ¶
Constants ¶
View Source
const (
InstanceMongoDB int = iota
)
View Source
const (
InstancePostgres int = iota
)
Variables ¶
This section is empty.
Functions ¶
func NewDatabaseNoSQLFactory ¶
func NewDatabaseNoSQLFactory(instance int) (repository.NoSQL, error)
NewDatabaseNoSQLFactory will create a new instance of MongoDB
func NewDatabaseSQLFactory ¶
func NewDatabaseSQLFactory(instance int) (repository.SQL, error)
NewDatabaseSQLFactory will create a new instance of PostgreSQL
func NewMongoHandler ¶
func NewMongoHandler(c *config) (*mongoHandler, error)
func NewPostgresHandler ¶
func NewPostgresHandler(c *config) (*postgresHandler, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.