s3

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type S3

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

func New

func New(accessKeyID, secretAccessKey, endpoint, region, bucket, prefix string, timeoutSeconds int) *S3

func (*S3) Get

func (s *S3) Get(path string, rw http.ResponseWriter) ([]byte, error)

Get fetches the object from S3 and writes it to the response writer.

Jump to

Keyboard shortcuts

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