auth

package
v0.0.0-...-ab261b6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 21, 2013 License: LGPL-3.0, LGPL-3.0 Imports: 14 Imported by: 0

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

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthHandler

func AuthHandler(w http.ResponseWriter, r *http.Request)

func DeCook

func DeCook(str []string) (*map[interface{}]interface{}, error)

func DeCrypt

func DeCrypt(str []string, keys *Cryptcfg) (*map[interface{}]interface{}, error)

func EnCook

func EnCook(vals *map[interface{}]interface{}) ([]string, error)

func EnCrypt

func EnCrypt(vals *map[interface{}]interface{}, keys *Cryptcfg) ([]string, error)

func FgtHandler

func FgtHandler(w http.ResponseWriter, r *http.Request)

func ReqHandler

func ReqHandler(w http.ResponseWriter, r *http.Request)

Types

type Cryptcfg

type Cryptcfg struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL