adaptor

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommentServerImpl

type CommentServerImpl struct {
	*config.Config
	CommentService service.ICommentService
	LabelService   service.ILabelService
	SubjectService service.ISubjectService
}

func (*CommentServerImpl) CreateComment

func (c *CommentServerImpl) CreateComment(ctx context.Context, req *comment.CreateCommentReq) (res *comment.CreateCommentResp, err error)

func (*CommentServerImpl) CreateCommentSubject

func (*CommentServerImpl) CreateLabel

func (c *CommentServerImpl) CreateLabel(ctx context.Context, req *comment.CreateLabelReq) (res *comment.CreateLabelResp, err error)

func (*CommentServerImpl) DeleteComment

func (c *CommentServerImpl) DeleteComment(ctx context.Context, req *comment.DeleteCommentReq) (res *comment.DeleteCommentResp, err error)

func (*CommentServerImpl) DeleteCommentSubject

func (*CommentServerImpl) DeleteCommentWithUserId

func (*CommentServerImpl) DeleteLabel

func (c *CommentServerImpl) DeleteLabel(ctx context.Context, req *comment.DeleteLabelReq) (res *comment.DeleteLabelResp, err error)

func (*CommentServerImpl) GetComment

func (c *CommentServerImpl) GetComment(ctx context.Context, req *comment.GetCommentReq) (res *comment.GetCommentResp, err error)

func (*CommentServerImpl) GetCommentList

func (c *CommentServerImpl) GetCommentList(ctx context.Context, req *comment.GetCommentListReq) (res *comment.GetCommentListResp, err error)

func (*CommentServerImpl) GetCommentSubject

func (*CommentServerImpl) GetLabel

func (c *CommentServerImpl) GetLabel(ctx context.Context, req *comment.GetLabelReq) (res *comment.GetLabelResp, err error)

func (*CommentServerImpl) GetLabels

func (c *CommentServerImpl) GetLabels(ctx context.Context, req *comment.GetLabelsReq) (res *comment.GetLabelsResp, err error)

func (*CommentServerImpl) GetLabelsInBatch

func (*CommentServerImpl) SetCommentAttrs

func (c *CommentServerImpl) SetCommentAttrs(ctx context.Context, req *comment.SetCommentAttrsReq) (res *comment.SetCommentAttrsResp, err error)

func (*CommentServerImpl) UpdateComment

func (c *CommentServerImpl) UpdateComment(ctx context.Context, req *comment.UpdateCommentReq) (res *comment.UpdateCommentResp, err error)

func (*CommentServerImpl) UpdateCommentSubject

func (*CommentServerImpl) UpdateLabel

func (c *CommentServerImpl) UpdateLabel(ctx context.Context, req *comment.UpdateLabelReq) (res *comment.UpdateLabelResp, err error)

Jump to

Keyboard shortcuts

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