Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var FilterAdmin = func(ctx *context.Context) { sess := ctx.Input.CruSession.Get("Adminname") var lowerUrl string = strings.ToLower(ctx.Request.RequestURI) if sess == nil && !NoCheckUrl(lowerUrl) { ctx.Redirect(302, "/admin/login") } }
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.