Documentation ¶
Index ¶
- Constants
- func ToInt64(value interface{}) (d int64, err error)
- type AdminController
- type ContentsList
- type Info
- type KindsController
- type MainController
- type ResController
- type SimpleController
- type UserController
- func (this *UserController) Get()
- func (this *UserController) Login()
- func (this *UserController) PostAdd()
- func (this *UserController) Register()
- func (this *UserController) UserAdd()
- func (this *UserController) UserDelete()
- func (this *UserController) UserList()
- func (this *UserController) UserUpdate()
Constants ¶
View Source
const ( DEFAULT = iota SUCCESS FAILED )
View Source
const ( INDEX = "admin/index.html" INFO = "info" CURRENT_PAGE = 1 PAGE_SIZE = 12 PAGE_COUNT = 0 UPLOAD_FILE = "/file" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AdminController ¶
type AdminController struct {
SimpleController
}
func (*AdminController) Get ¶
func (this *AdminController) Get()
func (*AdminController) Logout ¶
func (this *AdminController) Logout()
type ContentsList ¶
type ContentsList struct {
SimpleController
}
func (*ContentsList) PostAdd ¶
func (this *ContentsList) PostAdd()
type KindsController ¶
type KindsController struct {
SimpleController
}
func (*KindsController) Get ¶
func (this *KindsController) Get()
func (*KindsController) KindsAdd ¶
func (this *KindsController) KindsAdd()
func (*KindsController) KindsDel ¶
func (this *KindsController) KindsDel()
func (*KindsController) KindsList ¶
func (this *KindsController) KindsList()
func (*KindsController) PostAdd ¶
func (this *KindsController) PostAdd()
type MainController ¶
type MainController struct {
SimpleController
}
func (*MainController) Get ¶
func (this *MainController) Get()
type ResController ¶
type ResController struct {
SimpleController
}
func (*ResController) PostAdd ¶
func (this *ResController) PostAdd()
type SimpleController ¶
type SimpleController struct {
beego.Controller
}
func (*SimpleController) Prepare ¶
func (this *SimpleController) Prepare()
type UserController ¶
type UserController struct {
SimpleController
}
func (*UserController) Get ¶
func (this *UserController) Get()
func (*UserController) Register ¶
func (this *UserController) Register()
func (*UserController) UserDelete ¶
func (this *UserController) UserDelete()
delete user from database
Source Files ¶
Click to show internal directories.
Click to hide internal directories.