Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CELESTRAK_URL = "https://celestrak.org/NORAD/elements/gp.php?CATNR=NORADID&FORMAT=TLE"
View Source
var DOWNLOAD_DIR = "downloads"
Define the directory where all TLE files will be downloaded
Functions ¶
func GetSatelliteGroupTLEs ¶
func GetSatelliteGroupTLEs(groupName string, config CelestrakConfig) ([]tle.TLE, error)
Types ¶
type CelestrakConfig ¶
type CelestrakConfig struct {
SatelliteGroups []SatelliteGroup `yaml:"satellite_groups"`
Metadata struct {
Source string `yaml:"source"`
URL string `yaml:"url"`
Format string `yaml:"format"`
Provider string `yaml:"provider"`
DataSource string `yaml:"data_source"`
LastUpdated string `yaml:"last_updated"`
} `yaml:"metadata"`
}
func ReadCelestrakConfig ¶
func ReadCelestrakConfig() (CelestrakConfig, error)
type SatelliteGroup ¶
Click to show internal directories.
Click to hide internal directories.