image

package
v0.0.0-...-de73072 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2019 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetImage

func GetImage(res http.ResponseWriter, req *http.Request) (status int, byteRes []byte)

GetImage retuen img if user have permission

func Route

func Route(res http.ResponseWriter, req *http.Request)

Route decide static

func UploadImage

func UploadImage(res http.ResponseWriter, req *http.Request) (status int, byteRes []byte)

UploadImage will procss img uploaded, resize and caculate hash and storge max size is 20MB TODO: Limit img num of user

Types

This section is empty.

Jump to

Keyboard shortcuts

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