Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type TaskMetrics ¶ added in v0.25.0
type TaskMetrics struct {
Total int `json:"TOTAL"`
Succeeded int `json:"SUCCEEDED"`
Failed int `json:"FAILED"`
}
TaskMetrics carries upstream progress information from DashScope-style APIs.
type VideoParseResult ¶ added in v0.25.0
VideoParseResult holds the extended result from ParseVideoJSONV2.
func ParseVideoJSONV2 ¶ added in v0.25.0
func ParseVideoJSONV2(body []byte) VideoParseResult
ParseVideoJSONV2 parses task JSON with extended progress info.
func (VideoParseResult) ToFetchResult ¶ added in v0.25.0
func (r VideoParseResult) ToFetchResult() (sdkpoll.FetchResult, error)
ToFetchResult converts a VideoParseResult to a poll.FetchResult for use with PollV2.
Click to show internal directories.
Click to hide internal directories.