file

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

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

Go to latest
Published: Jun 25, 2019 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DownloadFile

func DownloadFile(w http.ResponseWriter, r *http.Request, params url.Values) error

Title Download router /download [post]

func ExistRes

func ExistRes(fileOrPath string) bool

func GetCurrentAbsPath

func GetCurrentAbsPath() string

func GetFileDist

func GetFileDist(webPath string) string

func GetRootDist

func GetRootDist(name string) string

func RegistFileDist

func RegistFileDist(webPath, distPath string) error

func RegistRootDist

func RegistRootDist(name, rootPath string) error

func SaveForBase64

func SaveForBase64(filePath, content string) error

func UploadFile

func UploadFile(w http.ResponseWriter, r *http.Request, params url.Values) error

Title Upload router /upload [post]

base64Image: "" uploadFiles: file(s)

Types

This section is empty.

Jump to

Keyboard shortcuts

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