Documentation ¶
Index ¶
- Constants
- Variables
- type Accounts
- func (this *Accounts) Create()
- func (this *Accounts) Edit()
- func (this *Accounts) Login()
- func (this *Accounts) LoginCreate()
- func (this *Accounts) Logout()
- func (this *Accounts) NestPrepare()
- func (this *Accounts) New()
- func (this *Accounts) Password()
- func (this *Accounts) Update()
- func (this *Accounts) UpdatePassword()
- type AppResult
- type BaseController
- type Home
- type NestPreparer
- type Nodes
- type Notifications
- type Replies
- type Settings
- type Topics
- func (this *Topics) Create()
- func (this *Topics) Delete()
- func (this *Topics) Edit()
- func (this *Topics) Feed()
- func (this *Topics) Index()
- func (this *Topics) NestPrepare()
- func (this *Topics) New()
- func (this *Topics) Popular()
- func (this *Topics) Rank()
- func (this *Topics) Recent()
- func (this *Topics) Show()
- func (this *Topics) Star()
- func (this *Topics) TopicNode()
- func (this *Topics) UnStar()
- func (this *Topics) UnWatch()
- func (this *Topics) Update()
- func (this *Topics) Watch()
- type Users
Constants ¶
View Source
const (
JSON_CODE_NO_LOGIN = -1
)
Variables ¶
View Source
var (
NumPerPage int = 20
)
Functions ¶
This section is empty.
Types ¶
type Accounts ¶
type Accounts struct {
BaseController
}
用户账户相关的控制器
func (*Accounts) LoginCreate ¶
func (this *Accounts) LoginCreate()
func (*Accounts) NestPrepare ¶
func (this *Accounts) NestPrepare()
func (*Accounts) UpdatePassword ¶
func (this *Accounts) UpdatePassword()
type BaseController ¶
type BaseController struct { beego.Controller // contains filtered or unexported fields }
func (*BaseController) Captcha ¶
func (this *BaseController) Captcha()
func (*BaseController) CurrentUser ¶
func (this *BaseController) CurrentUser() models.User
func (*BaseController) Finish ¶
func (this *BaseController) Finish()
func (*BaseController) FlashWrite ¶
func (this *BaseController) FlashWrite(msg string)
func (*BaseController) Prepare ¶
func (this *BaseController) Prepare()
func (*BaseController) Redirect ¶
func (this *BaseController) Redirect(url string)
type Home ¶
type Home struct {
BaseController
}
type NestPreparer ¶
type NestPreparer interface {
NestPrepare()
}
type Nodes ¶
type Nodes struct {
BaseController
}
func (*Nodes) NestPrepare ¶
func (this *Nodes) NestPrepare()
type Notifications ¶
type Notifications struct {
BaseController
}
func (*Notifications) Clear ¶
func (this *Notifications) Clear()
func (*Notifications) Index ¶
func (this *Notifications) Index()
type Replies ¶
type Replies struct { BaseController // contains filtered or unexported fields }
type Settings ¶
type Settings struct {
BaseController
}
func (*Settings) NestPrepare ¶
func (this *Settings) NestPrepare()
type Topics ¶
type Topics struct {
BaseController
}
func (*Topics) NestPrepare ¶
func (this *Topics) NestPrepare()
Click to show internal directories.
Click to hide internal directories.