Documentation ¶
Index ¶
- func Download(object string) io.ReadCloser
- func DownloadBucket(bucket, object string) io.ReadCloser
- func DownloadGin(c *gin.Context, object string, attachment bool)
- func DownloadGinBucket(c *gin.Context, bucket, object string, attachment bool)
- func Driver() *minio.Client
- func Init()
- func Upload(filename string, reader io.Reader) string
- func UploadBucket(bucket, filename string, reader io.Reader) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadBucket ¶ added in v1.2.2
func DownloadBucket(bucket, object string) io.ReadCloser
func DownloadGin ¶ added in v1.1.9
DownloadGin 查询object的方式获取流
func DownloadGinBucket ¶ added in v1.2.2
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.