Documentation ¶
Index ¶
- func RTFetch(ctx context.Context, target string, feedId string, feedUrl string, ...) error
- func StaticFetch(ctx context.Context, feedId string, feedSrc io.Reader, feedUrl string) (*model.FeedVersionFetchResult, error)
- func ValidateUpload(ctx context.Context, src io.Reader, feedURL *string, rturls []string) (*model.ValidationReport, error)
- type CheckFetchWaitResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StaticFetch ¶
Types ¶
type CheckFetchWaitResult ¶
type CheckFetchWaitResult struct { ID int OnestopID tt.String FetchWait tt.Int LastFetchedAt tt.Time URLType string DefaultFetchWait int64 Failures int CheckedAt time.Time }
func CheckFetchWaitBatch ¶
func (*CheckFetchWaitResult) Deadline ¶
func (check *CheckFetchWaitResult) Deadline() time.Duration
func (*CheckFetchWaitResult) OK ¶
func (check *CheckFetchWaitResult) OK() bool
Click to show internal directories.
Click to hide internal directories.