minio

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MinioContext

type MinioContext struct {
	Endpoint        string
	AccessKeyID     string
	SecretAccessKey string
	UseSSL          bool
}

func (*MinioContext) Delete

func (m *MinioContext) Delete(bucketName, objectName string)

func (*MinioContext) GetFile

func (m *MinioContext) GetFile(bucketName, objectName string, expiry time.Duration) (string, error)

func (*MinioContext) Open

func (m *MinioContext) Open() (*minio.Client, error)

func (*MinioContext) Upload

func (m *MinioContext) Upload(bucketName, objectName, filePath string)

Jump to

Keyboard shortcuts

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