minio

package
v0.0.0-...-74ba32b Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMinio

func GetMinio() *minio.Client

func GetMinioEnsureBucket

func GetMinioEnsureBucket(ctx context.Context, bucket string) (*minio.Client, error)

func InitMinio

func InitMinio(ctx context.Context, config MinioConfig) error

Types

type MinioConfig

type MinioConfig struct {
	Endpoint  string
	Port      uint16
	AccessKey string
	SecretKey string
	UseSSL    bool
}

Jump to

Keyboard shortcuts

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