package
0.0.0-20240614030048-31f864afca7b
Repository: https://github.com/liwei1dao/lego.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
如果当前路由无法匹配,但启用自动重定向
带有(不带)尾部斜杠的路径的处理程序存在。
例如,如果 /foo/ 被请求,但路由只存在于 /foo,则
对于 GET 请求,客户端被重定向到 /foo,http 状态码为 301
对于所有其他请求方法,则为 307。
*/.
# Constants
ErrorTypeAny indicates any other error.
ErrorTypeBind is used when Context.Bind() fails.
ErrorTypeNu indicates any other error.
ErrorTypePrivate indicates a private error.
ErrorTypePublic indicates a public error.
ErrorTypeRender is used when Context.Render() fails.
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
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
Error represents a error's specification.
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
# Type aliases
ErrorType is an unsigned 64-bit error code as defined in the gin spec.
H is a shortcut for map[string]interface{}.
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