Documentation ¶
Index ¶
- type Application
- type Blog
- func (c Blog) Delete(id bson.ObjectId) revel.Result
- func (c Blog) GetCreate() revel.Result
- func (c Blog) GetDelete(id bson.ObjectId) revel.Result
- func (c Blog) GetRead(id bson.ObjectId) revel.Result
- func (c Blog) GetUpdate(id bson.ObjectId) revel.Result
- func (c Blog) Index() revel.Result
- func (c Blog) Links(id bson.ObjectId) revel.Result
- func (c Blog) PostCreate(article *models.Article) revel.Result
- func (c Blog) Tag(tag string) revel.Result
- func (c Blog) Update(article *models.Article) revel.Result
- type User
- func (c User) Delete(id bson.ObjectId) revel.Result
- func (c User) EditLinks(id bson.ObjectId) revel.Result
- func (c User) GetCreate() revel.Result
- func (c User) GetDelete(id bson.ObjectId) revel.Result
- func (c User) GetLogin() revel.Result
- func (c User) GetLogout() revel.Result
- func (c User) GetRead(id bson.ObjectId) revel.Result
- func (c User) GetUpdate(id bson.ObjectId) revel.Result
- func (c User) PostCreate(user *models.User, password models.Password) revel.Result
- func (c User) PostLogin(Email, Password string) revel.Result
- func (c User) PostUpdate(id bson.ObjectId, user *models.User, password models.Password) revel.Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Application ¶
type Application struct { *revel.Controller revmgo.MongoController ActiveUser *models.User }
func (Application) Index ¶
func (c Application) Index() revel.Result
func (Application) NavLeft ¶
func (c Application) NavLeft() revel.Result
func (Application) NavRight ¶
func (c Application) NavRight() revel.Result
func (*Application) Setup ¶
func (c *Application) Setup() revel.Result
Responsible for doing any necessary setup for each web request.
func (Application) UserAuthenticated ¶
func (c Application) UserAuthenticated() bool
type Blog ¶
type Blog struct {
Application
}
Click to show internal directories.
Click to hide internal directories.