Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var HeaderFilter = func(c *revel.Controller, fc []revel.Filter) {
c.Response.Out.Header().Add("X-Frame-Options", "SAMEORIGIN")
c.Response.Out.Header().Add("X-XSS-Protection", "1; mode=block")
c.Response.Out.Header().Add("X-Content-Type-Options", "nosniff")
fc[0](c, fc[1:])
}
HeaderFilter is
Functions ¶
This section is empty.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
GENERATED CODE - DO NOT EDIT This file provides a way of creating URL's based on all the actions found in all the controllers.
|
GENERATED CODE - DO NOT EDIT This file provides a way of creating URL's based on all the actions found in all the controllers. |
GENERATED CODE - DO NOT EDIT This file is the main file for Revel.
|
GENERATED CODE - DO NOT EDIT This file is the main file for Revel. |
run
GENERATED CODE - DO NOT EDIT This file is the run file for Revel.
|
GENERATED CODE - DO NOT EDIT This file is the run file for Revel. |
Click to show internal directories.
Click to hide internal directories.