Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateNote ¶
type CreateNote struct { Param Title string `json:"title" binding:"required"` PreView string `json:"preView" binding:"required"` Content string `json:"content" binding:"required"` ID uint `json:"-"` }
func (*CreateNote) BeforeBind ¶
func (param *CreateNote) BeforeBind(c *gin.Context)
func (*CreateNote) Service ¶
func (param *CreateNote) Service()
type CreateToken ¶
type CreateToken struct { Param Email string `json:"email" binding:"required,email"` Password string `json:"password" binding:"required"` }
func (*CreateToken) Service ¶
func (param *CreateToken) Service()
type CreateUser ¶
type CreateUser struct { Param Email string `json:"email" binding:"required,email"` Name string `json:"name" binding:"required"` Password string `json:"password" binding:"required"` }
func (*CreateUser) Service ¶
func (param *CreateUser) Service()
type GetNoteList ¶
func (*GetNoteList) Service ¶
func (param *GetNoteList) Service()
type GetUserInfo ¶
type GetUserInfo struct {
Param
}
func (*GetUserInfo) BeforeBind ¶
func (param *GetUserInfo) BeforeBind(c *gin.Context)
Click to show internal directories.
Click to hide internal directories.