s3

package
v0.0.0-...-aa156bd Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2022 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 PostS3Persistent

type PostS3Persistent interface {
	UploadContent(ctx context.Context, input *UploadContentInput) (*UploadContentOutput, error)
}

func NewPostS3Persistent

func NewPostS3Persistent(s3client postS3PersistentS3) PostS3Persistent

type UploadContentInput

type UploadContentInput struct {
	UserID  int
	Content io.Reader
}

type UploadContentOutput

type UploadContentOutput struct {
	Key string
}

Jump to

Keyboard shortcuts

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