mongo

package
v0.0.0-...-99cece9 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCargoRepository

func NewCargoRepository(db string, session *mgo.Session) (shipping.CargoRepository, error)

NewCargoRepository returns a new instance of a MongoDB cargo repository.

func NewHandlingEventRepository

func NewHandlingEventRepository(db string, session *mgo.Session) shipping.HandlingEventRepository

NewHandlingEventRepository returns a new instance of a MongoDB handling event repository.

func NewLocationRepository

func NewLocationRepository(db string, session *mgo.Session) (shipping.LocationRepository, error)

NewLocationRepository returns a new instance of a MongoDB location repository.

func NewVoyageRepository

func NewVoyageRepository(db string, session *mgo.Session) (shipping.VoyageRepository, error)

NewVoyageRepository returns a new instance of a MongoDB voyage repository.

Types

This section is empty.

Jump to

Keyboard shortcuts

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