auth

package
v0.0.0-...-fe50973 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2014 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HashPassword

func HashPassword(plaintext string) string

func VerifyPassword

func VerifyPassword(plaintext string, hashed string) bool

func VerifyUser

func VerifyUser(user *models.User, username string, password string) bool

func VerifyUsername

func VerifyUsername(user *models.User, username string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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