Documentation
¶
Index ¶
- func NewRepository(cfg *config.Config) (*storage.Repository, error)
- type RouteRepo
- func (r *RouteRepo) GenerateRawGpxRoute(ctx context.Context, vehicle *entities.Vehicle, ...) (io.ReadCloser, error)
- func (r *RouteRepo) GenerateRoute(ctx context.Context, vehicle *entities.Vehicle, ...) (*entities.GeoJSON, error)
- func (r *RouteRepo) GenerateRouteInformation(ctx context.Context, vehicle *entities.Vehicle, ...) (*entities.RouteMetadata, error)
- type RouteRepoConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewRepository ¶
func NewRepository(cfg *config.Config) (*storage.Repository, error)
Types ¶
type RouteRepo ¶
type RouteRepo struct {
// contains filtered or unexported fields
}
func NewRouteRepo ¶
func NewRouteRepo(cfg *RouteRepoConfig) (*RouteRepo, error)
func (*RouteRepo) GenerateRawGpxRoute ¶
func (r *RouteRepo) GenerateRawGpxRoute(ctx context.Context, vehicle *entities.Vehicle, clusters []*entities.TreeCluster) (io.ReadCloser, error)
func (*RouteRepo) GenerateRoute ¶
func (*RouteRepo) GenerateRouteInformation ¶
func (r *RouteRepo) GenerateRouteInformation(ctx context.Context, vehicle *entities.Vehicle, clusters []*entities.TreeCluster) (*entities.RouteMetadata, error)
type RouteRepoConfig ¶
type RouteRepoConfig struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.