s3client

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type S3Client

type S3Client struct {
	MinioClient *minio.Client
	BucketName  string
}

func NewS3Client

func NewS3Client(endpoint, accessKeyID, secretAccessKey string) (*S3Client, error)

func (*S3Client) UploadFile

func (s *S3Client) UploadFile(sFile, dFile, bucketName string) (minio.UploadInfo, error)

Jump to

Keyboard shortcuts

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