storage

package
v0.0.0-...-45a6b41 Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StorageAgent

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

func NewStorageAgent

func NewStorageAgent(client *s3.Client, bucketName string) StorageAgent

func (StorageAgent) DownloadFile

func (s StorageAgent) DownloadFile(ctx context.Context, filename string) ([]byte, error)

func (StorageAgent) UploadFile

func (s StorageAgent) UploadFile(ctx context.Context, file []byte, filename string) error

Jump to

Keyboard shortcuts

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