Documentation
¶
Index ¶
- func LogAccess(c echo.Context) error
- func LoginGet(c echo.Context) error
- func LoginPost(c echo.Context) error
- func ManageComment(c echo.Context) error
- func ManageMedia(c echo.Context) error
- func ManagePage(c echo.Context) error
- func ManagePost(c echo.Context) error
- func Setting(c echo.Context) error
- func Test(c echo.Context) error
- func UploadImage(c echo.Context) error
- func UploadTest(c echo.Context) error
- func WritePage(c echo.Context) error
- func WritePost(c echo.Context) error
- type Param
- type UploadParam
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ManageComment ¶
func ManageMedia ¶
func ManagePage ¶
func ManagePost ¶
func UploadTest ¶
Types ¶
type Param ¶
type Param struct {
CommStatus string `query:"commstatus" default:"approved" `
Status string `query:"status" default:"publish" `
Page int `query:"page" default:"1"`
Cid int `query:"cid" default:"1"`
}
Param 类名首字母一定要大写,又被坑一次
type UploadParam ¶
type UploadParam struct {
Cid uint16 `query:"cid" form:"cid" json:"cid"`
}
Click to show internal directories.
Click to hide internal directories.