upload

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2019 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Overview

Package upload provides a re-usable file upload and storage utility for Ponzu 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