mongo

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMongoClient

func NewMongoClient(
	opts *options.ClientOptions,
) (*mongo.Client, error)

NewMongoClient returns a new mongo driver client.

func NewProvider

func NewProvider(
	mClient *mongo.Client,
	logger *zap.Logger,
) diface.IDocumentProvider

NewProvider returns a new IDocumentProvider.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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