authentication

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2017 License: MIT Imports: 4 Imported by: 22

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