image

package
v0.0.0-...-1f73362 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

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

func NewHandler

func NewHandler(service Service) *Handler

func (*Handler) UploadToS3

func (h *Handler) UploadToS3(w http.ResponseWriter, r *http.Request)

type Service

type Service interface {
	UploadToS3(ctx context.Context, readSeeker io.ReadSeeker, filename string) (string, error)
}

func NewService

func NewService(awsSession *session.Session) Service

Jump to

Keyboard shortcuts

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