treecluster

package
v1.0.1-pre Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewTreeClusterService

func NewTreeClusterService(
	treeClusterRepo storage.TreeClusterRepository,
	treeRepo storage.TreeRepository,
	regionRepo storage.RegionRepository,
	locator service.GeoClusterLocator,
) service.TreeClusterService

Types

type GeoClusterLocator

type GeoClusterLocator struct {
	// contains filtered or unexported fields
}

func NewGeoLocation

func NewGeoLocation(treeRepo storage.TreeRepository, regionRepo storage.RegionRepository) *GeoClusterLocator

func (*GeoClusterLocator) UpdateCluster

func (s *GeoClusterLocator) UpdateCluster(ctx context.Context, cluster *entities.TreeCluster) error

type TreeClusterService

type TreeClusterService struct {
	// contains filtered or unexported fields
}

func (*TreeClusterService) Create

func (*TreeClusterService) Delete

func (s *TreeClusterService) Delete(ctx context.Context, id int32) error

func (*TreeClusterService) GetAll

func (*TreeClusterService) GetByID

func (*TreeClusterService) Ready

func (s *TreeClusterService) Ready() bool

func (*TreeClusterService) Update

Jump to

Keyboard shortcuts

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