objectstore

package
v1.18.1-0...-4457fa6 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 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 S3Client

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

func NewS3Client

func NewS3Client(awsConfig aws.Config, bucketName string) *S3Client

func (*S3Client) Put

func (c *S3Client) Put(ctx context.Context, objectKey string, obj any) error

func (*S3Client) UploadFile

func (c *S3Client) UploadFile(ctx context.Context, file shared.FileUpload, path string) (shared.File, error)

Jump to

Keyboard shortcuts

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