minio

package
v0.0.0-...-37f52e5 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ContentType = map[string]string{
	".png":  "image/png",
	".jpg":  "image/jpeg",
	".jpeg": "image/jpeg",
	".gif":  "image/gif",
	".bmp":  "image/bmp",
	".webp": "image/webp",
	".tiff": "image/tiff",
}

ContentType map now supports a wider range of image formats

Functions

This section is empty.

Types

type MinIO

type MinIO struct {
	Cf *config.Config
	// contains filtered or unexported fields
}

func MinIOConnect

func MinIOConnect(cf *config.Config) (*MinIO, error)

func (*MinIO) Upload

func (m *MinIO) Upload(fileName, filePath string) (string, error)

Jump to

Keyboard shortcuts

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