package inmem

import "github.com/go-kit/kit/examples/shipping/inmem"

Package inmem provides in-memory implementations of all the domain repositories.

Index

Functions

func NewCargoRepository

func NewCargoRepository() cargo.Repository

NewCargoRepository returns a new instance of a in-memory cargo repository.

func NewHandlingEventRepository

func NewHandlingEventRepository() cargo.HandlingEventRepository

NewHandlingEventRepository returns a new instance of a in-memory handling event repository.

func NewLocationRepository

func NewLocationRepository() location.Repository

NewLocationRepository returns a new instance of a in-memory location repository.

func NewVoyageRepository

func NewVoyageRepository() voyage.Repository

NewVoyageRepository returns a new instance of a in-memory voyage repository.

Source Files

inmem.go

Version
v0.5.0
Published
Jun 8, 2017
Platform
darwin/amd64
Imports
4 packages
Last checked
2 minutes ago

Tools for package owners.