db

package
v0.0.0-...-9a1563a Latest Latest
Warning

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

Go to latest
Published: May 29, 2022 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Open

func Open(cfg *Config) (*common.Database, error)

Open connect to the database, and hiding the database implementation details for support of multiple databases.

Types

type Config

type Config struct {
	Mongo *mongo.Config `yaml:"mongo"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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