minio

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(filename string) ([]byte, error)

func Init

func Init() (err error)

Init initializes the MiniIO clients as a singleton. It reads Minio configuration from config.App.MinioConfig It returns nil if minio is not enabled.

func New added in v0.1.1

func New(cfg config.MinioConfig) (*minio.Client, error)

New creates a new Minio client instance with the given configuration.

func Put

func Put(reader io.Reader, size int64) (filename string, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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