object

package
v0.0.0-...-52eab8c Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Exists(ctx context.Context, location string) (*bool, error)
	Content(ctx context.Context, location string) (io.Reader, error)
	UploadURL(ctx context.Context, location string, duration time.Duration) (*string, error)
	DownloadURL(ctx context.Context, location string, duration time.Duration) (*string, error)
}

func NewClient

func NewClient(
	bucket string,
	presignClient *s3.PresignClient,
	standardClient *s3.Client,
) Client

Jump to

Keyboard shortcuts

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