service

package
v0.0.0-...-2dea973 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CalculateChunk

func CalculateChunk(t time.Time, sats *[]spacetrack.TLE) []*v1.Satellite

func CalculateSatPosition

func CalculateSatPosition(t time.Time, sat *spacetrack.TLE) *v1.Satellite

func CalculateSatPositionsLoop

func CalculateSatPositionsLoop(t time.Time, data *[]spacetrack.TLE) []*v1.Satellite

func CalculateSatPositionsParallel

func CalculateSatPositionsParallel(t time.Time, data *[]spacetrack.TLE) []*v1.Satellite

func Chunkify

func Chunkify(sats *[]spacetrack.TLE, numberOfChunks int) [][]spacetrack.TLE

func GetSatFromTle

func GetSatFromTle(line1 string, line2 string) satellite.Satellite

Types

type ChunkResult

type ChunkResult struct {
	Index int
	Data  []*v1.Satellite
}

type SatelliteService

type SatelliteService struct {
	*v1.UnimplementedSatelliteServiceServer
	// contains filtered or unexported fields
}

func NewSatelliteService

func NewSatelliteService() *SatelliteService

func (SatelliteService) GetMinimalSatellites

func (SatelliteService) GetSatelliteDetail

func (api SatelliteService) GetSatelliteDetail(ctx context.Context, req *v1.SatelliteDetailRequest) (*v1.SatelliteDetail, error)

func (SatelliteService) GetSatelliteGroups

func (SatelliteService) GetSatellitePath

func (SatelliteService) GetSatellitePositions

Jump to

Keyboard shortcuts

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