database

package
v0.0.0-...-ce87746 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2022 License: MIT Imports: 12 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