Documentation
¶
Overview ¶
* Copyright 2014-2015 LDLN * * This file is part of LDLN Base Station. * * LDLN Base Station is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * any later version. * * LDLN Base Station is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with LDLN Base Station. If not, see <http://www.gnu.org/licenses/>.
* Copyright 2014-2015 LDLN * * This file is part of LDLN Base Station. * * LDLN Base Station is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * any later version. * * LDLN Base Station is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with LDLN Base Station. If not, see <http://www.gnu.org/licenses/>.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( DB string RAW_DEK string )
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:])
}
TODO turn this into revel.HeaderFilter should probably also have a filter for CSRF not sure if it can go in the same filter or not
Functions ¶
func RegisterDB ¶
func RegisterDB()
func RegisterRawDek ¶
func RegisterRawDek()
Types ¶
This section is empty.
Directories
¶
Path | Synopsis |
---|---|
* Copyright 2014-2015 LDLN * * This file is part of LDLN Base Station.
|
* Copyright 2014-2015 LDLN * * This file is part of LDLN Base Station. |
* Copyright 2014-2015 LDLN * * This file is part of LDLN Base Station.
|
* Copyright 2014-2015 LDLN * * This file is part of LDLN Base Station. |