Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ImageUploadInfo ¶
type ImageUploadInfo struct {
Filename string `json:"filename"`
ImageUrl string `json:"imageurl"`
MimeType string `json:"mimetype"`
}
func UploadVideo ¶ added in v0.2.32
func UploadVideo(cflAccount, cflApiKey, id string, videoContent []byte, videoURL string) (*ImageUploadInfo, error)
type TokenManager ¶ added in v0.2.31
type TokenManager struct {
// contains filtered or unexported fields
}
func (*TokenManager) GetValidBatchToken ¶ added in v0.2.31
func (tm *TokenManager) GetValidBatchToken(cflAccount, cflToken string) (string, error)
Click to show internal directories.
Click to hide internal directories.