database

package
v0.0.0-...-c606dee Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InstanceMongoDB int = iota
)
View Source
const (
	InstancePostgres int = iota
)
View Source
const (
	InstanceRedis int = iota
)

Variables

This section is empty.

Functions

func NewDatabaseKeyValStoreFactory

func NewDatabaseKeyValStoreFactory(instance int) (repository.KeyValStoreIn, error)

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)

func NewRedistHanlder

func NewRedistHanlder(c *config) (*redistHandler, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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