s3

package
v0.0.0-...-f22bbbd Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2025 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 Option

type Option func(*Source)

type Source

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

func New

func New(client *minio.Client, bucket string, opts ...Option) *Source

func (*Source) Get

func (s *Source) Get(ctx context.Context, key string) (io.ReadCloser, uint64, error)

func (*Source) GetPart

func (s *Source) GetPart(ctx context.Context, key string, offset uint64, size uint64) (io.ReadCloser, error)

Jump to

Keyboard shortcuts

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