minio

package
v0.0.0-...-6d21404 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: MIT Imports: 5 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 {
	*url.URL
	*minio.Client
}

func New

func New(ur1 *url.URL) (*Storage, error)

func (*Storage) Load

func (s *Storage) Load(ctx context.Context, name string) (io.ReadSeekCloser, error)

func (*Storage) Purge

func (s *Storage) Purge(ctx context.Context, name string) error

func (*Storage) Shutdown

func (s *Storage) Shutdown()

func (*Storage) Store

func (s *Storage) Store(ctx context.Context, name string, size int64, r io.Reader) (int64, error)

Jump to

Keyboard shortcuts

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