commit
675490c294
@ -68,14 +68,21 @@ var (
|
|||||||
"LOCK": true,
|
"LOCK": true,
|
||||||
"UNLOCK": true,
|
"UNLOCK": true,
|
||||||
}
|
}
|
||||||
// these beego.Controller's methods shouldn't reflect to AutoRouter
|
// these web.Controller's methods shouldn't reflect to AutoRouter
|
||||||
exceptMethod = []string{"Init", "Prepare", "Finish", "Render", "RenderString",
|
exceptMethod = []string{"Abort", "CheckXSRFCookie", "CustomAbort", "DelSession",
|
||||||
"RenderBytes", "Redirect", "Abort", "StopRun", "UrlFor", "ServeJSON", "ServeJSONP",
|
"DestroySession", "Finish", "GetBool", "GetControllerAndAction",
|
||||||
"ServeYAML", "ServeXML", "Input", "ParseForm", "GetString", "GetStrings", "GetInt", "GetBool",
|
"GetFile", "GetFiles", "GetFloat", "GetInt", "GetInt16",
|
||||||
"GetFloat", "GetFile", "SaveToFile", "StartSession", "SetSession", "GetSession",
|
"GetInt32", "GetInt64", "GetInt8", "GetSecureCookie", "GetSession",
|
||||||
"DelSession", "SessionRegenerateID", "DestroySession", "IsAjax", "GetSecureCookie",
|
"GetString", "GetStrings", "GetUint16", "GetUint32", "GetUint64",
|
||||||
"SetSecureCookie", "XsrfToken", "CheckXsrfCookie", "XsrfFormHtml",
|
"GetUint8", "HandlerFunc", "Init", "Input",
|
||||||
"GetControllerAndAction", "ServeFormatted"}
|
"IsAjax", "Mapping", "ParseForm",
|
||||||
|
"Prepare", "Redirect", "Render", "RenderBytes",
|
||||||
|
"RenderString", "SaveToFile", "SaveToFileWithBuffer", "SaveToFileWithBuffer",
|
||||||
|
"ServeFormatted", "ServeJSON", "ServeJSONP", "ServeXML", "ServeYAML",
|
||||||
|
"SessionRegenerateID", "SetData", "SetSecureCookie", "SetSession", "StartSession",
|
||||||
|
"StopRun", "URLFor", "URLMapping", "XSRFFormHTML",
|
||||||
|
"XSRFToken",
|
||||||
|
}
|
||||||
|
|
||||||
urlPlaceholder = "{{placeholder}}"
|
urlPlaceholder = "{{placeholder}}"
|
||||||
// DefaultAccessLogFilter will skip the accesslog if return true
|
// DefaultAccessLogFilter will skip the accesslog if return true
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user