Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UploadResult ¶
UploadResult is the result of uploading a video
func Upload ¶
func Upload(host, localPath, title, description string, tags []string) (*UploadResult, error)
Upload a local file to a creamy-videos server
func UploadWithProgress ¶ added in v0.0.3
func UploadWithProgress(host, localPath, title, description string, tags []string, callback func(current, total int64)) (*UploadResult, error)
UploadWithProgress uploads a local file to a creamy-videos server and provides progress updates
Click to show internal directories.
Click to hide internal directories.