database

package
v0.0.0-...-3ca87c7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 9, 2021 License: MIT Imports: 17 Imported by: 0

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)

func NewDatabaseSQLFactory

func NewDatabaseSQLFactory(instance int) (repository.SQL, error)

func NewMongoHandler

func NewMongoHandler(c *config) (*mongoHandler, error)

func NewMongoHandlerDeprecated

func NewMongoHandlerDeprecated(c *config) (*mongoHandlerDeprecated, error)

func NewPostgresHandler

func NewPostgresHandler(c *config) (*postgresHandler, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL