Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommentController ¶
type CommentController struct {
beego.Controller
TopicId string
CommentId int64
}
func (*CommentController) Delete ¶
func (c *CommentController) Delete()
func (*CommentController) Get ¶
func (c *CommentController) Get()
func (*CommentController) Prepare ¶
func (c *CommentController) Prepare()
type CommentCreated ¶
type CommentCreated struct {
CommentId int64 `json:"comment_id"`
}
type CommentEntity ¶
type CommentEntity struct {
Content string `form:"content",valid:"Required;Range(1,140)"`
}
type CommentsController ¶
type CommentsController struct {
beego.Controller
TopicId string
}
func (*CommentsController) Get ¶
func (c *CommentsController) Get()
func (*CommentsController) Post ¶
func (c *CommentsController) Post()
func (*CommentsController) Prepare ¶
func (c *CommentsController) Prepare()
Click to show internal directories.
Click to hide internal directories.