Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PostCommentHandler ¶
func QueryCommentListHandler ¶
Types ¶
type ListResponse ¶
type ListResponse struct { models.CommonResponse *comment.List }
type PostCommentResponse ¶
type PostCommentResponse struct { models.CommonResponse *comment.Response }
type ProxyCommentListHandler ¶
func NewProxyCommentListHandler ¶
func NewProxyCommentListHandler(context *gin.Context) *ProxyCommentListHandler
func (*ProxyCommentListHandler) Do ¶
func (p *ProxyCommentListHandler) Do()
func (*ProxyCommentListHandler) SendError ¶
func (p *ProxyCommentListHandler) SendError(msg string)
func (*ProxyCommentListHandler) SendOk ¶
func (p *ProxyCommentListHandler) SendOk(commentList *comment.List)
type ProxyPostCommentHandler ¶
func NewProxyPostCommentHandler ¶
func NewProxyPostCommentHandler(context *gin.Context) *ProxyPostCommentHandler
func (*ProxyPostCommentHandler) Do ¶
func (p *ProxyPostCommentHandler) Do()
func (*ProxyPostCommentHandler) SendError ¶
func (p *ProxyPostCommentHandler) SendError(msg string)
func (*ProxyPostCommentHandler) SendOk ¶
func (p *ProxyPostCommentHandler) SendOk(comment *comment.Response)
Click to show internal directories.
Click to hide internal directories.