Documentation ¶
Index ¶
- type CategoryController
- func (c *CategoryController) Add(ctx *gin.Context)
- func (c *CategoryController) Delete(ctx *gin.Context)
- func (c *CategoryController) Edit(ctx *gin.Context)
- func (c CategoryController) JSON(ctx *gin.Context, success bool, msg interface{}, resp ...interface{})
- func (c CategoryController) Redirect(ctx *gin.Context, location string)
- func (c CategoryController) V(ctx *gin.Context) *views.View
- func (c *CategoryController) View(ctx *gin.Context)
- type CategoryForm
- type DocController
- func (d *DocController) Add(c *gin.Context)
- func (d *DocController) Delete(c *gin.Context)
- func (d *DocController) Edit(c *gin.Context)
- func (c DocController) JSON(ctx *gin.Context, success bool, msg interface{}, resp ...interface{})
- func (c DocController) Redirect(ctx *gin.Context, location string)
- func (c DocController) V(ctx *gin.Context) *views.View
- func (d *DocController) View(c *gin.Context)
- type DocForm
- type HomeController
- func (h *HomeController) Captcha(c *gin.Context)
- func (h *HomeController) Index(c *gin.Context)
- func (h *HomeController) InternalServerError(c *gin.Context)
- func (c HomeController) JSON(ctx *gin.Context, success bool, msg interface{}, resp ...interface{})
- func (h *HomeController) Login(c *gin.Context)
- func (h *HomeController) Logout(c *gin.Context)
- func (h *HomeController) NotFound(c *gin.Context)
- func (c HomeController) Redirect(ctx *gin.Context, location string)
- func (c HomeController) V(ctx *gin.Context) *views.View
- type LoginForm
- type PasswordForm
- type ProjectController
- func (p *ProjectController) Add(c *gin.Context)
- func (p *ProjectController) Delete(c *gin.Context)
- func (p *ProjectController) Edit(c *gin.Context)
- func (c ProjectController) JSON(ctx *gin.Context, success bool, msg interface{}, resp ...interface{})
- func (c ProjectController) Redirect(ctx *gin.Context, location string)
- func (c ProjectController) V(ctx *gin.Context) *views.View
- func (p *ProjectController) View(c *gin.Context)
- type ProjectForm
- type UserController
- func (u *UserController) Add(c *gin.Context)
- func (u *UserController) Delete(c *gin.Context)
- func (u *UserController) Edit(c *gin.Context)
- func (u *UserController) Index(c *gin.Context)
- func (c UserController) JSON(ctx *gin.Context, success bool, msg interface{}, resp ...interface{})
- func (u *UserController) Password(c *gin.Context)
- func (c UserController) Redirect(ctx *gin.Context, location string)
- func (u *UserController) Reset(c *gin.Context)
- func (c UserController) V(ctx *gin.Context) *views.View
- type UserForm
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CategoryController ¶
type CategoryController struct {
// contains filtered or unexported fields
}
func NewCategoryController ¶
func NewCategoryController(r *gin.Engine) *CategoryController
func (*CategoryController) Add ¶
func (c *CategoryController) Add(ctx *gin.Context)
func (*CategoryController) Delete ¶
func (c *CategoryController) Delete(ctx *gin.Context)
func (*CategoryController) Edit ¶
func (c *CategoryController) Edit(ctx *gin.Context)
func (*CategoryController) View ¶
func (c *CategoryController) View(ctx *gin.Context)
type CategoryForm ¶
type CategoryForm struct {
Name string `form:"name" binding:"required"`
}
type DocController ¶
type DocController struct {
// contains filtered or unexported fields
}
func NewDocController ¶
func NewDocController(r *gin.Engine) *DocController
func (*DocController) Add ¶
func (d *DocController) Add(c *gin.Context)
func (*DocController) Delete ¶
func (d *DocController) Delete(c *gin.Context)
func (*DocController) Edit ¶
func (d *DocController) Edit(c *gin.Context)
func (*DocController) View ¶
func (d *DocController) View(c *gin.Context)
type HomeController ¶
type HomeController struct {
// contains filtered or unexported fields
}
func NewHomeController ¶
func NewHomeController(r *gin.Engine) *HomeController
func (*HomeController) Captcha ¶
func (h *HomeController) Captcha(c *gin.Context)
func (*HomeController) Index ¶
func (h *HomeController) Index(c *gin.Context)
func (*HomeController) InternalServerError ¶
func (h *HomeController) InternalServerError(c *gin.Context)
func (*HomeController) Login ¶
func (h *HomeController) Login(c *gin.Context)
func (*HomeController) Logout ¶
func (h *HomeController) Logout(c *gin.Context)
func (*HomeController) NotFound ¶
func (h *HomeController) NotFound(c *gin.Context)
type PasswordForm ¶
type ProjectController ¶
type ProjectController struct {
// contains filtered or unexported fields
}
func NewProjectController ¶
func NewProjectController(r *gin.Engine) *ProjectController
func (*ProjectController) Add ¶
func (p *ProjectController) Add(c *gin.Context)
func (*ProjectController) Delete ¶
func (p *ProjectController) Delete(c *gin.Context)
func (*ProjectController) Edit ¶
func (p *ProjectController) Edit(c *gin.Context)
func (*ProjectController) View ¶
func (p *ProjectController) View(c *gin.Context)
type ProjectForm ¶
type UserController ¶
type UserController struct {
// contains filtered or unexported fields
}
func NewUserController ¶
func NewUserController(r *gin.Engine) *UserController
func (*UserController) Add ¶
func (u *UserController) Add(c *gin.Context)
func (*UserController) Delete ¶
func (u *UserController) Delete(c *gin.Context)
func (*UserController) Edit ¶
func (u *UserController) Edit(c *gin.Context)
func (*UserController) Index ¶
func (u *UserController) Index(c *gin.Context)
func (*UserController) Password ¶
func (u *UserController) Password(c *gin.Context)
func (*UserController) Reset ¶
func (u *UserController) Reset(c *gin.Context)
Click to show internal directories.
Click to hide internal directories.