Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (Client) NewProcess ¶
type CloudConvert ¶
type CloudConvert struct { converter.UploadConversion Client }
func (CloudConvert) Convert ¶
func (c CloudConvert) Convert(s converter.ConversionSource, done <-chan struct{}) ([]byte, error)
type Conversion ¶
type Conversion struct { Input string `json:"input"` File string `json:"file"` Filename string `json:"filename"` OutputFormat string `json:"outputformat"` Wait bool `json:"wait"` Download string `json:"download,omitempty"` Timeout string `json:"timeout,omitempty"` *Output `json:"output,omitempty"` }
type Process ¶
type Process struct { ID string `json:"id,omitempty"` URL string `json:"url"` Expires string `json:"expires,omitempty"` MaxTime int `json:"maxtime,omitempty"` Minutes int `json:"minutes,omitempty"` }
func (Process) StartConversion ¶
func (p Process) StartConversion(c Conversion) ([]byte, error)
Click to show internal directories.
Click to hide internal directories.