minio

package
v0.0.0-...-20002e4 Latest Latest
Warning

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

Go to latest
Published: Jun 9, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Minio

type Minio struct {
	Client *minioGo.Client
}

func (*Minio) PreSignedPutObjectUrl

func (minio *Minio) PreSignedPutObjectUrl(ctx context.Context, req *oss.PreSignedPutObjectUrlReq) (*oss.PreSignedPutObjectUrlResp, error)

PreSignedPutObjectUrl 获取 put 上传文件的签名地址

func (*Minio) PutObject

func (minio *Minio) PutObject(ctx context.Context, req *oss.PutObjectReq) (resp *oss.PutObjectResp, err error)

PutObject 通过二进制文件 上传文件

Jump to

Keyboard shortcuts

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