Documentation ¶
Index ¶
- func NewCargoRepository(db string, session *mgo.Session) (cargo.Repository, error)
- func NewHandlingEventRepository(db string, session *mgo.Session) cargo.HandlingEventRepository
- func NewLocationRepository(db string, session *mgo.Session) (location.Repository, error)
- func NewVoyageRepository(db string, session *mgo.Session) (voyage.Repository, error)
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.
Click to show internal directories.
Click to hide internal directories.