mongo

package
v0.0.0-...-047fb71 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2022 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(settings *Settings) (storage.Storage, error)

Types

type Settings

type Settings struct {
	Uri                string
	Database           string
	BoxCollectionName  string
	ItemCollectionName string
	MoveCollectionName string
}

type Storage

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

func (*Storage) Box

func (s *Storage) Box() box.Storage

func (*Storage) Close

func (s *Storage) Close() error

func (*Storage) Item

func (s *Storage) Item() item.Storage

func (*Storage) Move

func (s *Storage) Move() move.Storage

Jump to

Keyboard shortcuts

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