mongostore

package
v0.0.0-...-5dd924d Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package mongostore is the mongoDB version of the persistence layer of the service

Index

Constants

View Source
const (
	//DBName is the name of the database
	DBName = "lamovie"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type DB

type DB struct {
	// contains filtered or unexported fields
}

DB represents the instance of the mongo store

func New

func New(client *mongo.Client) (*DB, error)

New creates new object for DB struct

Jump to

Keyboard shortcuts

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