Back to godoc.org
github.com/go-kit/kit/examples/shipping/inmem

package inmem

v0.10.0
Latest Go to latest
Published: Feb 17, 2020 | License: MIT | Module: github.com/go-kit/kit

Overview

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

Index

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.

Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
f or F : Jump to identifier