Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DeletePostLogic ¶
func NewDeletePostLogic ¶
func NewDeletePostLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeletePostLogic
func (*DeletePostLogic) DeletePost ¶
func (l *DeletePostLogic) DeletePost(req *types.DeletePostReq) (resp *types.DeletePostResp, err error)
type GetPostDetailLogic ¶
func NewGetPostDetailLogic ¶
func NewGetPostDetailLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetPostDetailLogic
func (*GetPostDetailLogic) GetPostDetail ¶
func (l *GetPostDetailLogic) GetPostDetail(req *types.GetPostDetailReq) (resp *types.GetPostDetailResp, err error)
type GetPostPreviewsLogic ¶
func NewGetPostPreviewsLogic ¶
func NewGetPostPreviewsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetPostPreviewsLogic
func (*GetPostPreviewsLogic) GetPostPreviews ¶
func (l *GetPostPreviewsLogic) GetPostPreviews(req *types.GetPostPreviewsReq) (resp *types.GetPostPreviewsResp, err error)
type NewPostLogic ¶
func NewNewPostLogic ¶
func NewNewPostLogic(ctx context.Context, svcCtx *svc.ServiceContext) *NewPostLogic
func (*NewPostLogic) NewPost ¶
func (l *NewPostLogic) NewPost(req *types.NewPostReq) (resp *types.NewPostResp, err error)
type SetOfficialLogic ¶ added in v1.5.0
func NewSetOfficialLogic ¶ added in v1.5.0
func NewSetOfficialLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SetOfficialLogic
func (*SetOfficialLogic) SetOfficial ¶ added in v1.5.0
func (l *SetOfficialLogic) SetOfficial(req *types.SetOfficialReq) (resp *types.SetOfficialResp, err error)
Click to show internal directories.
Click to hide internal directories.