upload

package
v0.0.0-...-4de3c4e Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package upload provides a re-usable file upload and storage utility for Instio systems to handle multipart form data.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Backup

func Backup(ctx context.Context, res http.ResponseWriter) error

Backup creates an archive of a project's uploads and writes it to the response as a download

func StoreFiles

func StoreFiles(req *http.Request) (map[string]string, error)

StoreFiles stores file uploads at paths like /YYYY/MM/filename.ext

Types

This section is empty.

Jump to

Keyboard shortcuts

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