mongo

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository interface {
	chassis.Repository
	Client() *mongo.Client
}

func New

func New(configKey string) Repository

New instantiates a new repository. A call to Open is required before use. The configKey parameter dictates which key in the configuration will be read during initialization. Default: "repositories.mongo"

Jump to

Keyboard shortcuts

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