Documentation ¶
Index ¶
- func FileExist(target string) bool
- func GetFileName(target string) string
- func GetFileType(target string) string
- func IsEmptyStr(target *string) bool
- func IsManifestMediaType(mediaType string) bool
- func NotEmptyStr(target *string) bool
- type VodClientError
- type VodUploadClient
- type VodUploadRequest
- type VodUploadResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFileName ¶
func GetFileType ¶
func IsEmptyStr ¶
func IsManifestMediaType ¶
func NotEmptyStr ¶
Types ¶
type VodClientError ¶
type VodClientError struct {
Message string
}
func (*VodClientError) Error ¶
func (e *VodClientError) Error() string
func (*VodClientError) GetMessage ¶
func (e *VodClientError) GetMessage() string
type VodUploadClient ¶
type VodUploadClient struct { SecretId string SecretKey string Token string Timeout int64 Transport http.RoundTripper }
func (*VodUploadClient) Upload ¶
func (p *VodUploadClient) Upload(region string, request *VodUploadRequest) (*VodUploadResponse, error)
func (*VodUploadClient) UploadFromUrl ¶ added in v1.0.2
func (p *VodUploadClient) UploadFromUrl(region string, request *VodUploadRequest) (*VodUploadResponse, error)
type VodUploadRequest ¶
type VodUploadRequest struct { v20180717.ApplyUploadRequest MediaFilePath *string CoverFilePath *string ConcurrentUploadNumber *uint64 MediaUrl *string CoverUrl *string }
func NewVodUploadRequest ¶
func NewVodUploadRequest() (request *VodUploadRequest)
type VodUploadResponse ¶
type VodUploadResponse struct {
v20180717.CommitUploadResponse
}
Click to show internal directories.
Click to hide internal directories.