Documentation ¶
Index ¶
- Variables
- type BaseController
- type ErrorController
- type FrontMessage
- type FrontPeply
- type FrontPost
- type MainController
- func (this *MainController) DeleteMessage()
- func (this *MainController) DeletePost()
- func (this *MainController) Get()
- func (this *MainController) ImgUp()
- func (this *MainController) ListMessage()
- func (this *MainController) LoginPage()
- func (this *MainController) Logout()
- func (this *MainController) Main()
- func (this *MainController) MessagePage()
- func (this *MainController) PostPage()
- func (this *MainController) ReplyMessage()
- func (this *MainController) ResetPwd()
- func (this *MainController) SavePost()
- func (this *MainController) UserPage()
- func (this *MainController) UserUpdate()
- func (this *MainController) ValidUser()
- func (this *MainController) WritePage()
- type PostController
- type ResEntity
- type ResPost
- type UserControlelr
Constants ¶
This section is empty.
Variables ¶
View Source
var IMG_EXT = []string{"jpg", "jpeg", "png", "bmp", "webp", "JPG", "JPEG", "PNG", "BMP", "WEBP"}
View Source
var LAST_LOGIN_TIME = time.Now().Unix()
View Source
var LOGIN_COUNT = 0
View Source
var LOGIN_LOCK_TIMES int
View Source
var PAGE_SIZE int
View Source
var RELOGIN_PERIOD int64
Functions ¶
This section is empty.
Types ¶
type BaseController ¶
type BaseController struct {
beego.Controller
}
type ErrorController ¶
type ErrorController struct {
beego.Controller
}
func (*ErrorController) Error403 ¶
func (c *ErrorController) Error403()
func (*ErrorController) Error404 ¶
func (c *ErrorController) Error404()
type FrontMessage ¶
type FrontPeply ¶
type MainController ¶
type MainController struct {
BaseController
}
func (*MainController) DeleteMessage ¶
func (this *MainController) DeleteMessage()
func (*MainController) DeletePost ¶
func (this *MainController) DeletePost()
func (*MainController) Get ¶
func (this *MainController) Get()
func (*MainController) ImgUp ¶
func (this *MainController) ImgUp()
func (*MainController) ListMessage ¶
func (this *MainController) ListMessage()
func (*MainController) LoginPage ¶
func (this *MainController) LoginPage()
func (*MainController) Logout ¶
func (this *MainController) Logout()
func (*MainController) Main ¶
func (this *MainController) Main()
func (*MainController) MessagePage ¶
func (this *MainController) MessagePage()
func (*MainController) PostPage ¶
func (this *MainController) PostPage()
func (*MainController) ReplyMessage ¶
func (this *MainController) ReplyMessage()
func (*MainController) ResetPwd ¶
func (this *MainController) ResetPwd()
func (*MainController) SavePost ¶
func (this *MainController) SavePost()
func (*MainController) UserPage ¶
func (this *MainController) UserPage()
func (*MainController) UserUpdate ¶
func (this *MainController) UserUpdate()
func (*MainController) ValidUser ¶
func (this *MainController) ValidUser()
func (*MainController) WritePage ¶
func (this *MainController) WritePage()
type PostController ¶
type PostController struct {
BaseController
}
func (*PostController) ListPosts ¶
func (this *PostController) ListPosts()
func (*PostController) OnePost ¶
func (this *PostController) OnePost()
func (*PostController) Posts ¶
func (this *PostController) Posts()
func (*PostController) SubmitMsg ¶
func (this *PostController) SubmitMsg()
type UserControlelr ¶
type UserControlelr struct {
BaseController
}
func (*UserControlelr) Author ¶
func (this *UserControlelr) Author()
Click to show internal directories.
Click to hide internal directories.