db

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const CName = "coordinator.db"

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database interface {
	app.Component
	Db() *mongo.Database
}

func New

func New() Database

type Mongo

type Mongo struct {
	Connect  string `yaml:"connect"`
	Database string `yaml:"database"`
}

Jump to

Keyboard shortcuts

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