storage

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2023 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 Storage

type Storage struct {
	Client     *minio.Client
	BucketName string
}

func (*Storage) Connect

func (s *Storage) Connect() error

func (*Storage) GetSignedURL

func (s *Storage) GetSignedURL(objectName string, alias string) (string, error)

func (*Storage) Upload

func (s *Storage) Upload(objectName string, filePath string) error

Jump to

Keyboard shortcuts

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