1 // Package routing provides the routing domain service. It does not actually
2 // implement the routing service but merely acts as a proxy for a separate
7 "github.com/go-kit/kit/examples/shipping/cargo"
10 // Service provides access to an external routing service.
11 type Service interface {
12 // FetchRoutesForSpecification finds all possible routes that satisfy a
13 // given specification.
14 FetchRoutesForSpecification(rs cargo.RouteSpecification) []cargo.Itinerary