Documentation
¶
Index ¶
- func ConvertLocations(cfg *config.RoutingConfig) (*entities.GeoJSONMetadata, error)
- type DummyRoutingRepo
- func (r *DummyRoutingRepo) GenerateRawGpxRoute(_ context.Context, _ *entities.Vehicle, _ []*entities.TreeCluster) (io.ReadCloser, error)
- func (r *DummyRoutingRepo) GenerateRoute(_ context.Context, _ *entities.Vehicle, _ []*entities.TreeCluster) (*entities.GeoJSON, error)
- func (r *DummyRoutingRepo) GenerateRouteInformation(_ context.Context, _ *entities.Vehicle, _ []*entities.TreeCluster) (*entities.RouteMetadata, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertLocations ¶
func ConvertLocations(cfg *config.RoutingConfig) (*entities.GeoJSONMetadata, error)
Types ¶
type DummyRoutingRepo ¶
type DummyRoutingRepo struct{}
DummyRoutingRepo is used to disable the routing service by configuration
func NewDummyRoutingRepo ¶
func NewDummyRoutingRepo() *DummyRoutingRepo
func (*DummyRoutingRepo) GenerateRawGpxRoute ¶
func (r *DummyRoutingRepo) GenerateRawGpxRoute(_ context.Context, _ *entities.Vehicle, _ []*entities.TreeCluster) (io.ReadCloser, error)
func (*DummyRoutingRepo) GenerateRoute ¶
func (r *DummyRoutingRepo) GenerateRoute(_ context.Context, _ *entities.Vehicle, _ []*entities.TreeCluster) (*entities.GeoJSON, error)
func (*DummyRoutingRepo) GenerateRouteInformation ¶
func (r *DummyRoutingRepo) GenerateRouteInformation(_ context.Context, _ *entities.Vehicle, _ []*entities.TreeCluster) (*entities.RouteMetadata, error)
Click to show internal directories.
Click to hide internal directories.