s3

package
v0.0.15 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	InstanceID string
	Region     string
	S3Bucket   string
}

type S3 added in v0.0.6

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

func New

func New(
	ctx context.Context,
	logger *slog.Logger,
	config Config,
) (*S3, error)

func NewWithClient added in v0.0.9

func NewWithClient(
	config Config,
	client client,
	logger *slog.Logger,
) *S3

func (*S3) Upload added in v0.0.6

func (s *S3) Upload(ctx context.Context, file *os.File) error

Jump to

Keyboard shortcuts

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