Documentation
¶
Index ¶
- func Get(ctx context.Context, svcCtx *svc.ServiceContext, l logx.Logger, ...) (*post.Post, error)
- func GetPostUserInfos(ctx context.Context, svcCtx *svc.ServiceContext, l logx.Logger, ...) (*post.PostUserInfos, error)
- type DeleteLogic
- type GetByPathLogic
- type GetLogic
- type GetPostUserInfosLogic
- type InsertLogic
- type ListLogic
- type ListPostUserInfosLogic
- type PatchLogic
- type PublishLogic
- type RevertLogic
- type SearchLogic
- type UpdateLogic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPostUserInfos ¶
func GetPostUserInfos(ctx context.Context, svcCtx *svc.ServiceContext, l logx.Logger, postUserInfosModel *model.PostUserInfo) (*post.PostUserInfos, error)
Types ¶
type DeleteLogic ¶
func NewDeleteLogic ¶
func NewDeleteLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeleteLogic
type GetByPathLogic ¶
func NewGetByPathLogic ¶
func NewGetByPathLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetByPathLogic
func (*GetByPathLogic) GetByPath ¶
func (l *GetByPathLogic) GetByPath(in *post.GetByPathReq) (*post.Post, error)
type GetLogic ¶
func NewGetLogic ¶
func NewGetLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetLogic
type GetPostUserInfosLogic ¶
func NewGetPostUserInfosLogic ¶
func NewGetPostUserInfosLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetPostUserInfosLogic
func (*GetPostUserInfosLogic) GetPostUserInfos ¶
func (l *GetPostUserInfosLogic) GetPostUserInfos(in *post.GetPostUserInfosReq) (*post.PostUserInfos, error)
type InsertLogic ¶
func NewInsertLogic ¶
func NewInsertLogic(ctx context.Context, svcCtx *svc.ServiceContext) *InsertLogic
type ListLogic ¶
func NewListLogic ¶
func NewListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListLogic
type ListPostUserInfosLogic ¶
func NewListPostUserInfosLogic ¶
func NewListPostUserInfosLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListPostUserInfosLogic
func (*ListPostUserInfosLogic) ListPostUserInfos ¶
func (l *ListPostUserInfosLogic) ListPostUserInfos(in *post.ListPostUserInfosReq) (*post.ListPostUserInfosResp, error)
type PatchLogic ¶
func NewPatchLogic ¶
func NewPatchLogic(ctx context.Context, svcCtx *svc.ServiceContext) *PatchLogic
type PublishLogic ¶
func NewPublishLogic ¶
func NewPublishLogic(ctx context.Context, svcCtx *svc.ServiceContext) *PublishLogic
func (*PublishLogic) Publish ¶
func (l *PublishLogic) Publish(in *post.PublishReq) (*post.Post, error)
type RevertLogic ¶
func NewRevertLogic ¶
func NewRevertLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RevertLogic
type SearchLogic ¶
func NewSearchLogic ¶
func NewSearchLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SearchLogic
func (*SearchLogic) Search ¶
func (l *SearchLogic) Search(in *post.SearchReq) (*post.SearchResp, error)
type UpdateLogic ¶
func NewUpdateLogic ¶
func NewUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateLogic
Click to show internal directories.
Click to hide internal directories.