routing.go 269 B

12345678
  1. package model
  2. // RoutingService is a domain service for routing cargos.
  3. type RoutingService interface {
  4. // FetchRoutesForSpecification finds all possible routes that satisfy a
  5. // given specification.
  6. FetchRoutesForSpecification(rs RouteSpecification) []Itinerary
  7. }