Documentation ¶
Overview ¶
auth.go : GOWS authencation program Copyright (C) 2013 Shaun Savage <savages@savages.com>
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program 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 Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
crypt.go : GOWS crytography program Copyright (C) 2013 Shaun Savage <savages@savages.com>
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Leser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program 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 Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
Index ¶
- func AuthHandler(w http.ResponseWriter, r *http.Request)
- func DeCook(str []string) (*map[interface{}]interface{}, error)
- func DeCrypt(str []string, keys *Cryptcfg) (*map[interface{}]interface{}, error)
- func EnCook(vals *map[interface{}]interface{}) ([]string, error)
- func EnCrypt(vals *map[interface{}]interface{}, keys *Cryptcfg) ([]string, error)
- func FgtHandler(w http.ResponseWriter, r *http.Request)
- func ReqHandler(w http.ResponseWriter, r *http.Request)
- type Cryptcfg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthHandler ¶
func AuthHandler(w http.ResponseWriter, r *http.Request)
func FgtHandler ¶
func FgtHandler(w http.ResponseWriter, r *http.Request)
func ReqHandler ¶
func ReqHandler(w http.ResponseWriter, r *http.Request)