package
0.0.0-20241007081357-bede6665bebc
Repository: https://github.com/gopad/gopad-api.git
Documentation: pkg.go.dev
# Functions
MustFileUpload simply calls NewFileUpload and panics on an error.
MustS3Upload simply calls NewS3Upload and panics on an error.
NewFileUpload initializes a new file handler.
NewMockUpload creates a new mock instance.
NewS3Upload initializes a new S3 handler.
# Variables
ErrUnknownDriver defines a named error for unknown upload drivers.
# Structs
FileUpload implements the Upload interface.
MockUpload is a mock of Upload interface.
MockUploadMockRecorder is the mock recorder for MockUpload.
S3Upload implements the Upload interface.
# Interfaces
Upload provides the interface for the upload implementations.