utils

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFileContentType

func GetFileContentType(out io.Reader) (string, error)

Types

type MinioClient

type MinioClient struct {
	// contains filtered or unexported fields
}

func GetMinioClient

func GetMinioClient() MinioClient

func (MinioClient) PutObject

func (c MinioClient) PutObject(objectName, contentType string, object io.Reader, objectSize int64) error

Jump to

Keyboard shortcuts

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