Documentation ¶
Index ¶
- func DefaultRequestHeader(header http.Header)
- func Run(conf Config) error
- type Api
- func (a *Api) CompleteMultipartUpload(ctx context.Context, req *third.CompleteMultipartUploadReq) (string, error)
- func (a *Api) GetAdminToken(ctx context.Context) (string, error)
- func (a *Api) GetPartLimit(ctx context.Context) (*third.PartLimitResp, error)
- func (a *Api) InitiateMultipartUpload(ctx context.Context, req *third.InitiateMultipartUploadReq) (*third.InitiateMultipartUploadResp, error)
- type Config
- type Manage
- type Md5Reader
- type PartInfo
- type Progress
- type ReadSeekSizeCloser
- type Task
- type Upload
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultRequestHeader ¶
Types ¶
type Api ¶
func (*Api) CompleteMultipartUpload ¶
func (*Api) GetAdminToken ¶ added in v3.8.1
func (*Api) GetPartLimit ¶
func (*Api) InitiateMultipartUpload ¶
func (a *Api) InitiateMultipartUpload(ctx context.Context, req *third.InitiateMultipartUploadReq) (*third.InitiateMultipartUploadResp, error)
type Manage ¶
type Manage struct {
// contains filtered or unexported fields
}
type Md5Reader ¶
type Md5Reader struct {
// contains filtered or unexported fields
}
func NewMd5Reader ¶
type Progress ¶
type Progress struct {
// contains filtered or unexported fields
}
func ReadProgress ¶
func (*Progress) IsUploaded ¶
type ReadSeekSizeCloser ¶
type ReadSeekSizeCloser interface { io.ReadSeekCloser Size() int64 }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.