mongo

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2017 License: MIT Imports: 5 Imported by: 14

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCargoRepository

func NewCargoRepository(db string, session *mgo.Session) (cargo.Repository, error)

NewCargoRepository returns a new instance of a MongoDB cargo repository.

func NewHandlingEventRepository

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

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

func NewLocationRepository

func NewLocationRepository(db string, session *mgo.Session) (location.Repository, error)

NewLocationRepository returns a new instance of a MongoDB location repository.

func NewVoyageRepository

func NewVoyageRepository(db string, session *mgo.Session) (voyage.Repository, 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