Versions in this module Expand all Collapse all v0 v0.5.0 Jan 24, 2019 Changes in this version + func CheckInterval(p *CheckParams, interval time.Duration, cb func(*CheckResponse, error)) chan struct + func Report(ctx context.Context, r *ReportParams) error + func ReportRequest(r *ReportParams) (*http.Request, error) + type CheckAlert struct + Date int + ID int + Level string + Message string + URL string + type CheckParams struct + Arch string + CacheDuration time.Duration + CacheFile string + Force bool + OS string + Product string + Signature string + SignatureFile string + Version string + type CheckResponse struct + Alerts []*CheckAlert + CurrentChangelogURL string + CurrentDownloadURL string + CurrentReleaseDate int + CurrentVersion string + Outdated bool + Product string + ProjectWebsite string + func Check(p *CheckParams) (*CheckResponse, error) + type ReportParams struct + Arch string + EndTime time.Time + OS string + Payload interface{} + Product string + RunID string + SchemaVersion string + Signature string + SignatureFile string + StartTime time.Time + Version string + type VersionsParams struct + Force bool + Product string + Service string + type VersionsResponse struct + Excluding []string + Maximum string + Minimum string + Product string + Service string + func Versions(p *VersionsParams) (*VersionsResponse, error)