comment

package
v0.0.0-...-6db71ed Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PostCommentHandler

func PostCommentHandler(c *gin.Context)

func QueryCommentListHandler

func QueryCommentListHandler(c *gin.Context)

Types

type ListResponse

type ListResponse struct {
	models.CommonResponse
	*comment.List
}

type PostCommentResponse

type PostCommentResponse struct {
	models.CommonResponse
	*comment.Response
}

type ProxyCommentListHandler

type ProxyCommentListHandler struct {
	*gin.Context
	// contains filtered or unexported fields
}

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

type ProxyPostCommentHandler struct {
	*gin.Context
	// contains filtered or unexported fields
}

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL