backend

package
v0.0.0-...-5cab47f Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2020 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrDirectory = errors.New("path is directory")

ErrDirectory is target path is Directory

Functions

func DownloadURLHandler

func DownloadURLHandler(w http.ResponseWriter, r *http.Request)

func StaticContentsHandler

func StaticContentsHandler(w http.ResponseWriter, r *http.Request)

func UploadURLHandler

func UploadURLHandler(w http.ResponseWriter, r *http.Request)

Types

type SignedURL

type SignedURL struct {
	Key            string `json:"key"`
	Bucket         string `json:"bucket"`
	ContentType    string `json:"contentType"`
	GoogleAccessID string `json:"googleAccessId"`
	ACL            string `json:"acl"`
	Policy         string `json:"policy"`
	Signature      string `json:"signature"`
}

Jump to

Keyboard shortcuts

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