minio

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ENDPOINT    = configs.Get().Minio.Endpoint
	BUCKET_NAME = configs.Get().Minio.BucketName
	ACCESS_KEY  = configs.Get().Minio.AccessKey
	SECRET_KEY  = configs.Get().Minio.SecretKey
)

Functions

This section is empty.

Types

type Service

type Service interface {
	Upload(ctx context.Context, file multipart.File, filename string) (string, string, error)

	Delete(ctx context.Context, objectName string) error

	PresignedURL(ctx context.Context, bucketName, objectName string) (string, error)
	// contains filtered or unexported methods
}

MinIO对象存储管理Service

func New

func New() Service

Jump to

Keyboard shortcuts

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