services

package
v0.0.0-...-623ea98 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SatelliteService

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

func NewSatelliteService

func NewSatelliteService(tleRepo domain.TLERepository, propagateClient *propagator.PropagatorClient) SatelliteService

NewSatelliteService creates a new instance of SatelliteService.

func (*SatelliteService) Propagate

func (s *SatelliteService) Propagate(ctx context.Context, noradID string, duration time.Duration, interval time.Duration) ([]space.SatellitePosition, error)

type TleService

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

func NewTleService

func NewTleService(celestrackClient celestrackClient) TleService

NewTleService creates a new instance of TleService.

func (*TleService) FetchTLEFromSatCatByCategory

func (s *TleService) FetchTLEFromSatCatByCategory(ctx context.Context, category string) ([]domain.TLE, error)

Jump to

Keyboard shortcuts

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