storage

package
v0.0.0-...-946fd12 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Images

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

func NewImagesStorage

func NewImagesStorage(ctx context.Context, client *minio.Client, bucketName, location string) (*Images, error)

func (*Images) Del

func (s *Images) Del(ctx context.Context, name string) error

func (*Images) Get

func (s *Images) Get(ctx context.Context, name string) (*minio.Object, error)

func (*Images) Upload

func (s *Images) Upload(ctx context.Context, img *properties.Image) error

Jump to

Keyboard shortcuts

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