Documentation ¶
Index ¶
- func DownloadFile(w http.ResponseWriter, r *http.Request, params url.Values) error
- func ExistRes(fileOrPath string) bool
- func GetCurrentAbsPath() string
- func GetFileDist(webPath string) string
- func GetRootDist(name string) string
- func RegistFileDist(webPath, distPath string) error
- func RegistRootDist(name, rootPath string) error
- func SaveForBase64(filePath, content string) error
- func UploadFile(w http.ResponseWriter, r *http.Request, params url.Values) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadFile ¶
Title Download router /download [post]
func GetCurrentAbsPath ¶
func GetCurrentAbsPath() string
func GetFileDist ¶
func GetRootDist ¶
func RegistFileDist ¶
func RegistRootDist ¶
func SaveForBase64 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.