commentaction

package
v0.0.0-...-18974b4 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2023 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ActionHandler

func ActionHandler(ctx context.Context, request *comment.CommentRequest) (resp *comment.CommentResponse, err error)

func ConvertAllCommentInfo

func ConvertAllCommentInfo(ctx context.Context, input []operation.TComment, userId int64) (res []*comment.CommentInfo, err error)

func ConvertCommentInfo

func ConvertCommentInfo(ctx context.Context, input operation.TComment, userId int64, queryId int64) (res *comment.CommentInfo, err error)

func DeleteComment

func DeleteComment(ctx context.Context, request *comment.CommentRequest) (resp *comment.CommentResponse, err error)

func GetCommentList

func GetCommentList(ctx context.Context, request *comment.CommentListRequest) (resp *comment.CommentListResponse, err error)

func PublishComment

func PublishComment(ctx context.Context, request *comment.CommentRequest) (resp *comment.CommentResponse, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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