storages3

package
v0.11.2 Latest Latest
Warning

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

Go to latest
Published: May 31, 2026 License: MIT Imports: 4 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 {
	// contains filtered or unexported fields
}

func NewS3Client

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

func (S3Client) GetObject

func (s3 S3Client) GetObject(ctx context.Context, bucketName string, objectName string) (*minio.Object, error)

func (S3Client) PutObject

func (s3 S3Client) PutObject(ctx context.Context, bucketName string, objectName string, reader io.Reader, contentType string) error

func (S3Client) PutObjectFile added in v0.7.0

func (s3 S3Client) PutObjectFile(ctx context.Context, bucketName string, objectName string, filePath string, contentType string) error

Jump to

Keyboard shortcuts

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