s3

package
v0.6.3 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Object

type Object struct {
	Key  string
	ETag string
}

type PresignRequest

type PresignRequest struct {
	URL string
}

type S3Client

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

func NewS3Client

func NewS3Client(bucket string) *S3Client

func (*S3Client) PresignPutObject

func (c *S3Client) PresignPutObject(key string) (*PresignRequest, error)

func (*S3Client) PutObject

func (c *S3Client) PutObject(key string, content []byte) (*Object, error)

Jump to

Keyboard shortcuts

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