uploadprovider

package
v0.0.0-...-d64eb31 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewS3Provider

func NewS3Provider(id string) *s3Provider

NewS3Provider creates a new s3Provider

Types

type UploadProvider

type UploadProvider interface {
	SaveImageUploaded(ctx context.Context, data []byte, dst string) (*core.Image, error)
	SaveFileUploaded(ctx context.Context, data []byte, dst string) (*core.File, error)
}

Jump to

Keyboard shortcuts

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