Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrRateLimited = errors.New("rate limited") CatalystStatusSuccess = clients.TranscodeStatusCompleted.String() CatalystStatusError = clients.TranscodeStatusError.String() )
View Source
var UserAgent string
Functions ¶
func CatalystHookPath ¶ added in v0.4.17
Types ¶
type BaseClient ¶
type Catalyst ¶ added in v0.4.17
type Catalyst interface { UploadVOD(ctx context.Context, upload UploadVODRequest) error CatalystHookURL(taskId, nextStep, attemptID string) string }
func NewCatalyst ¶ added in v0.4.17
func NewCatalyst(opts CatalystOptions) Catalyst
type CatalystCallback ¶ added in v0.4.17
type CatalystCallback = clients.TranscodeStatusMessage
type CatalystOptions ¶ added in v0.4.17
type HTTPStatusError ¶
func (*HTTPStatusError) Error ¶
func (e *HTTPStatusError) Error() string
type IPFS ¶
type IPFS interface { PinContent(ctx context.Context, name, contentType string, data io.Reader) (cid string, metadata interface{}, err error) Unpin(ctx context.Context, cid string) error List(ctx context.Context, pageSize, pageOffset int) (*PinList, int, error) }
func NewPinataClientAPIKey ¶
type OutputLocation ¶ added in v0.4.17
type OutputLocation struct { Type string `json:"type"` URL string `json:"url,omitempty"` PinataAccessKey string `json:"pinata_access_key,omitempty"` Outputs *OutputsRequest `json:"outputs,omitempty"` }
type OutputsRequest ¶ added in v0.5.0
type UploadVODRequest ¶ added in v0.4.17
type UploadVODRequest struct { Url string `json:"url"` CallbackUrl string `json:"callback_url"` OutputLocations []OutputLocation `json:"output_locations,omitempty"` Profiles []api.Profile `json:"profiles,omitempty"` PipelineStrategy pipeline.Strategy `json:"pipeline_strategy,omitempty"` }
Click to show internal directories.
Click to hide internal directories.