routing

package
v1.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2025 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

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 (*DummyRoutingRepo) GenerateRouteInformation

func (r *DummyRoutingRepo) GenerateRouteInformation(_ context.Context, _ *entities.Vehicle, _ []*entities.TreeCluster) (*entities.RouteMetadata, error)

Directories

Path Synopsis
ors

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL