util

package
v0.0.0-...-0ed9d1a Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CORSforOptions

func CORSforOptions(w *http.ResponseWriter)

func FileDownload

func FileDownload(downloadname string) ([]byte, error)

func FileUpload

func FileUpload(uploadname string) error

func Respond

func Respond(res []byte, w http.ResponseWriter)

Respond 適切なヘッダーを追加し、レスポンスを行う。

func S3Connect

func S3Connect() (*session.Session, error)

func SetAllowHeader

func SetAllowHeader(w *http.ResponseWriter)

func SetAllowMehod

func SetAllowMehod(w *http.ResponseWriter)

func SetCORS

func SetCORS(w *http.ResponseWriter)

Types

This section is empty.

Jump to

Keyboard shortcuts

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