user

package
v0.0.0-...-30c2553 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2013 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Count

func Count() (int, error)

Types

type User

type User struct {
	Username string
	Password string
}

func Get

func Get(username string) (*User, error)

func (*User) CheckPassword

func (user *User) CheckPassword(password string) bool

func (*User) Save

func (user *User) Save() error

func (*User) String

func (u *User) String() string

func (*User) Validate

func (user *User) Validate(v *revel.Validation)

Jump to

Keyboard shortcuts

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