methods

package
v0.4.17 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MultipartUpload

func MultipartUpload(config MultiPartUploadConfig) ([]byte, error)

Types

type DownloaderConfig

type DownloaderConfig struct {
	TransferConfig
	Link        string
	Prefix      string
	ForceMode   bool
	Modifier    func(r *http.Request)
	RespHandler func(r *http.Response) bool
}

type MultiPartUploadConfig

type MultiPartUploadConfig struct {
	Debug      bool
	Endpoint   string
	FileName   string
	FileReader io.Reader
	FileSize   int64
}

type TransferConfig

type TransferConfig struct {
	Parallel   int
	DebugMode  *bool
	NoBarMode  bool
	CryptoMode bool
	CryptoKey  string
}

Jump to

Keyboard shortcuts

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