package
0.0.0-20241005021200-33bf88e90aa4
Repository: https://github.com/unstoppablego/framework.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
CallEncodeApi 调用 MyHandleMiddlewareY2 加密服务器
xmodel 返回的结构体 respModel.
next func(ctx *Context, query reqModel) (interface{}, error).
Create Event stream API
Post 参数定义如下 不区分POST GET 等相关问题
path string
next func(w http.ResponseWriter, r *http.Request, respData []byte, obj reqModel) (data interface{}, err error)
enableValidate bool 默认开启
*/.
AddGetRoute 将丢弃BODY数据,只返回URL query 数据
*/.
拥有 data 加密 和 字段校验的函数.
No description provided by the author
No description provided by the author
Post 参数定义如下 不区分POST GET 等相关问题
path string
next func(w http.ResponseWriter, r *http.Request, respData []byte, obj reqModel) (data interface{}, err error)
enableValidate bool 默认开启
*/.
No description provided by the author
去读url path 通常和 上传的 path 不同一个 且由于 net/http 匹配机制 所以这个路径通常为 /readupfile/ 分为2部分 第一部分 需要能够注入 权限鉴定 第二部分需要能够 在上传完成后 执行后续动作.
No description provided by the author
No description provided by the author
No description provided by the author
分为2部分 第一部分 需要能够注入 权限鉴定 第二部分需要能够 在上传完成后 执行后续动作.
# Variables
No description provided by the author
var UploadFilePath = config.Cfg.Http.UploadDir.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
r.Body = io.NopCloser(ReusableReader(r.Body)).