mongo

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MongoClientAdapterFactory

func MongoClientAdapterFactory(adapterConfig *model.RepositoryClientConfig, client ports.SecondaryAdapterClient) (ports.SecodaryPort, error)

Types

type MongoClient

type MongoClient struct {
	Client *mongo.Client
	// contains filtered or unexported fields
}

func NewMongoClient

func NewMongoClient(addr string) *MongoClient

Client client for mongo

func (*MongoClient) Close

func (mongoClient *MongoClient) Close()

Jump to

Keyboard shortcuts

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