Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetaService ¶
type MetaService struct {
// contains filtered or unexported fields
}
MetaService user service
func NewMetaService ¶
func NewMetaService(metaCommonService *metacommon.MetaCommonService, userCommon *usercommon.UserCommon, answerRepo answercommon.AnswerRepo, questionRepo questioncommon.QuestionRepo) *MetaService
func (*MetaService) AddOrUpdateReaction ¶ added in v1.3.5
func (ms *MetaService) AddOrUpdateReaction(ctx context.Context, req *schema.UpdateReactionReq) (resp *schema.GetReactionByObjectIdResp, err error)
AddOrUpdateReaction add or update reaction
func (*MetaService) GetReactionByObjectId ¶ added in v1.3.5
func (ms *MetaService) GetReactionByObjectId(ctx context.Context, req *schema.GetReactionReq) (resp *schema.GetReactionByObjectIdResp, err error)
GetReactionByObjectId get reaction
Click to show internal directories.
Click to hide internal directories.