storage

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2023 License: Apache-2.0 Imports: 8 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 {
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, uri string) (*Storage, error)

func (*Storage) Close

func (s *Storage) Close() error

func (*Storage) OpenRead

func (s *Storage) OpenRead(ctx context.Context, key string) (io.ReadSeekCloser, error)

func (*Storage) Upload

func (s *Storage) Upload(ctx context.Context, key string, r io.Reader) (err error)

Jump to

Keyboard shortcuts

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