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 SearchPostLogic ¶ added in v1.1.5
func NewSearchPostLogic ¶ added in v1.1.5
func NewSearchPostLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SearchPostLogic
func (*SearchPostLogic) SearchPost ¶ added in v1.1.5
func (l *SearchPostLogic) SearchPost(req *types.SearchPostReq) (resp *types.SearchPostResp, err error)
Click to show internal directories.
Click to hide internal directories.