Documentation ¶
Index ¶
- func CalculateChunk(t time.Time, sats *[]spacetrack.TLE) []*v1.Satellite
- func CalculateSatPosition(t time.Time, sat *spacetrack.TLE) *v1.Satellite
- func CalculateSatPositionsLoop(t time.Time, data *[]spacetrack.TLE) []*v1.Satellite
- func CalculateSatPositionsParallel(t time.Time, data *[]spacetrack.TLE) []*v1.Satellite
- func Chunkify(sats *[]spacetrack.TLE, numberOfChunks int) [][]spacetrack.TLE
- func GetSatFromTle(line1 string, line2 string) satellite.Satellite
- type ChunkResult
- type SatelliteService
- func (api SatelliteService) GetMinimalSatellites(_ context.Context, req *v1.GetSatellitePositionsRequest) (*v1.GetMinimalSatellitesResponse, error)
- func (api SatelliteService) GetSatelliteDetail(ctx context.Context, req *v1.SatelliteDetailRequest) (*v1.SatelliteDetail, error)
- func (api SatelliteService) GetSatelliteGroups(context.Context, *emptypb.Empty) (*v1.GetSatelliteGroupsResponse, error)
- func (api SatelliteService) GetSatellitePath(_ context.Context, req *v1.SatellitePathRequest) (*v1.GetSatellitePathResponse, error)
- func (api SatelliteService) GetSatellitePositions(_ context.Context, req *v1.GetSatellitePositionsRequest) (*v1.GetSatellitePositionsResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateChunk ¶
func CalculateSatPosition ¶
func Chunkify ¶
func Chunkify(sats *[]spacetrack.TLE, numberOfChunks int) [][]spacetrack.TLE
func GetSatFromTle ¶
Types ¶
type ChunkResult ¶
type SatelliteService ¶
type SatelliteService struct { *v1.UnimplementedSatelliteServiceServer // contains filtered or unexported fields }
func NewSatelliteService ¶
func NewSatelliteService() *SatelliteService
func (SatelliteService) GetMinimalSatellites ¶
func (api SatelliteService) GetMinimalSatellites(_ context.Context, req *v1.GetSatellitePositionsRequest) (*v1.GetMinimalSatellitesResponse, error)
func (SatelliteService) GetSatelliteDetail ¶
func (api SatelliteService) GetSatelliteDetail(ctx context.Context, req *v1.SatelliteDetailRequest) (*v1.SatelliteDetail, error)
func (SatelliteService) GetSatelliteGroups ¶
func (api SatelliteService) GetSatelliteGroups(context.Context, *emptypb.Empty) (*v1.GetSatelliteGroupsResponse, error)
func (SatelliteService) GetSatellitePath ¶
func (api SatelliteService) GetSatellitePath(_ context.Context, req *v1.SatellitePathRequest) (*v1.GetSatellitePathResponse, error)
func (SatelliteService) GetSatellitePositions ¶
func (api SatelliteService) GetSatellitePositions(_ context.Context, req *v1.GetSatellitePositionsRequest) (*v1.GetSatellitePositionsResponse, error)
Click to show internal directories.
Click to hide internal directories.