Documentation
¶
Index ¶
- Constants
- func PrintDebug(aPrompt ...string)
- func PrintError(aCode int, aPrompt string, aError ...error)
- func PrintWarning(aCode int, aPrompt string, aWarning ...error)
- func StreakGetResults(aTOMLfile string)
- func StreakLogin(aCredFile string) (*http.Client, error)
- func StreakUpload(aTOMLfile string)
- type DownloadData
- type DownloadType
- type UploadData
- type UploadProperties
Constants ¶
View Source
const URL = "http://localhost:8080"
Variables ¶
This section is empty.
Functions ¶
func PrintDebug ¶
func PrintDebug(aPrompt ...string)
func PrintError ¶
func PrintWarning ¶
func StreakGetResults ¶
func StreakGetResults(aTOMLfile string)
func StreakUpload ¶
func StreakUpload(aTOMLfile string)
Types ¶
type DownloadData ¶
type DownloadType ¶
type DownloadType struct {
DownloadData map[string]DownloadData `toml:"DownloadData"`
}
type UploadData ¶
type UploadData struct {
Telescope string `toml:"Telescope"`
ObservatoryCode string `toml:"ObservatoryCode"`
RightAscension string `toml:"RightAscension"`
Declination string `toml:"Declination"`
JulianDate string `toml:"JulianDate"`
ExposureDuration string `toml:"ExposureDuration"`
PublicView string `toml:"PublicView"`
AllowAITraining string `toml:"AllowAITraining"`
StreakType string `toml:"StreakType"`
}
type UploadProperties ¶
type UploadProperties struct {
UploadData map[string]UploadData `toml:"properties"`
}
Click to show internal directories.
Click to hide internal directories.