Documentation ¶
Overview ¶
Package upload is the http multipart upload package
Index ¶
Constants ¶
View Source
const ( ErrInvalidFile = errors.String("invalid file") ErrTargetIsNotDir = errors.String("target is not a directory") ErrSizeNotMatch = io.ErrSizeNotMatch )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FileInfo ¶
func ParseMultipart ¶
func ParseMultipart(header *multipart.FileHeader) FileInfo
Click to show internal directories.
Click to hide internal directories.