models

package
v0.0.0-...-6812513 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2013 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidatePassword

func ValidatePassword(v *revel.Validation, password string) *revel.ValidationResult

Types

type Block

type Block struct {
	Header  string
	Url     string
	Content string
}

type Page

type Page struct {
	Header  string
	Url     string
	Content string
}

type User

type User struct {
	Name     string
	Username string
	Password string
	IsAdmin  bool
}

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