Documentation ¶
Index ¶
Constants ¶
View Source
const MaxUpload = 210000000
MaxUpload represents the maximum upload in bytes for an individual file
Variables ¶
View Source
var ( ErrInvalidType = errors.New("fs: invalid detected file type") ErrTooBig = errors.New("fs: file too big") ErrNotFound = errors.New("fs: file not found") )
Errors that can occur during uploading
Functions ¶
Types ¶
type File ¶
type File struct { *minio.Object minio.ObjectInfo }
File represents a file
func RetrieveFile ¶
RetrieveFile retrieves a file in a bucket. It is recommended to use a presigned file instead.
Click to show internal directories.
Click to hide internal directories.