api

package
v0.0.0-...-5447790 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2019 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CompleteUploadHandler

func CompleteUploadHandler(c *gin.Context)

CompleteUploadHandler : 通知上传合并

func DoUploadHandler

func DoUploadHandler(c *gin.Context)

DoUploadHandler : 处理文件上传

func InitialMultipartUploadHandler

func InitialMultipartUploadHandler(c *gin.Context)

InitialMultipartUploadHandler : 初始化分块上传

func TryFastUploadHandler

func TryFastUploadHandler(c *gin.Context)

TryFastUploadHandler : 尝试秒传接口

func UploadPartHandler

func UploadPartHandler(c *gin.Context)

UploadPartHandler : 上传文件分块

Types

type MultipartUploadInfo

type MultipartUploadInfo struct {
	FileHash   string
	FileSize   int
	UploadID   string
	ChunkSize  int
	ChunkCount int
}

MultipartUploadInfo : 初始化信息

Jump to

Keyboard shortcuts

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