Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildUploadOptions ¶
func BuildUploadOptions(ctx context.Context, f *pkgobjects.File) *pkgobjects.UploadOptions
BuildUploadOptions prepares upload options enriched with provider hints and ensures the file has a detected content type when one was not provided by the client.
func HandleUploads ¶
func HandleUploads(ctx context.Context, svc *objects.Service, files []pkgobjects.File) (context.Context, []pkgobjects.File, error)
HandleUploads persists metadata, uploads files to storage, and enriches the request context with uploaded file details.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.