minio

package
v1.2.5 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Download added in v1.1.9

func Download(object string) io.ReadCloser

Download 获取object io

func DownloadBucket added in v1.2.2

func DownloadBucket(bucket, object string) io.ReadCloser

func DownloadGin added in v1.1.9

func DownloadGin(c *gin.Context, object string, attachment bool)

DownloadGin 查询object的方式获取流

func DownloadGinBucket added in v1.2.2

func DownloadGinBucket(c *gin.Context, bucket, object string, attachment bool)

func Driver

func Driver() *minio.Client

func Init

func Init()

func Upload added in v1.0.3

func Upload(filename string, reader io.Reader) string

Upload 上传[]byte

func UploadBucket added in v1.2.2

func UploadBucket(bucket, filename string, reader io.Reader) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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