authentication

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2015 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearSession

func ClearSession(response http.ResponseWriter)

func EncryptPassword

func EncryptPassword(password string) (string, error)

func GetUserName

func GetUserName(request *http.Request) (userName string)

func LoginIsCorrect

func LoginIsCorrect(name string, password string) bool

func SetSession

func SetSession(userName string, response http.ResponseWriter)

Types

This section is empty.

Jump to

Keyboard shortcuts

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