internal

package
v0.0.9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 11, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Lifecycle

type Lifecycle interface {
	// Initiate 初始化
	Initiate(parts int, start int, mime *mimetype.MIME) (urls []*bo.Url, err error)

	// Abort 取消
	Abort() (err error)

	// Complete 完成
	Complete(parts []*bo.Part) (err error)
}

type Uploader

type Uploader struct {
	// contains filtered or unexported fields
}

func NewUploader

func NewUploader(worker Worker) *Uploader

func (*Uploader) Do

func (u *Uploader) Do() error

type Worker

type Worker interface {
	Do() (err error)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL