kit: github.com/go-kit/kit/examples/shipping/inmem Index | Files

package inmem

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

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

Index

Package Files

inmem.go

func NewCargoRepository Uses

func NewCargoRepository() cargo.Repository

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

func NewHandlingEventRepository Uses

func NewHandlingEventRepository() cargo.HandlingEventRepository

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

func NewLocationRepository Uses

func NewLocationRepository() location.Repository

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

func NewVoyageRepository Uses

func NewVoyageRepository() voyage.Repository

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

Package inmem imports 4 packages (graph) and is imported by 1 packages. Updated 2016-11-12. Refresh now. Tools for package owners.