Versions in this module Expand all Collapse all v0 v0.0.2 Jan 24, 2025 Changes in this version + type AddPostLogic struct + func NewAddPostLogic(ctx context.Context, svcCtx *svc.ServiceContext) *AddPostLogic + func (l *AddPostLogic) AddPost(in *sysclient.AddPostReq) (*sysclient.AddPostResp, error) + type DeletePostLogic struct + func NewDeletePostLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeletePostLogic + func (l *DeletePostLogic) DeletePost(in *sysclient.DeletePostReq) (*sysclient.DeletePostResp, error) + type QueryPostDetailLogic struct + func NewQueryPostDetailLogic(ctx context.Context, svcCtx *svc.ServiceContext) *QueryPostDetailLogic + func (l *QueryPostDetailLogic) QueryPostDetail(in *sysclient.QueryPostDetailReq) (*sysclient.QueryPostDetailResp, error) + type QueryPostListLogic struct + func NewQueryPostListLogic(ctx context.Context, svcCtx *svc.ServiceContext) *QueryPostListLogic + func (l *QueryPostListLogic) QueryPostList(in *sysclient.QueryPostListReq) (*sysclient.QueryPostListResp, error) + type UpdatePostLogic struct + func NewUpdatePostLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdatePostLogic + func (l *UpdatePostLogic) UpdatePost(in *sysclient.UpdatePostReq) (*sysclient.UpdatePostResp, error) + type UpdatePostStatusLogic struct + func NewUpdatePostStatusLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdatePostStatusLogic + func (l *UpdatePostStatusLogic) UpdatePostStatus(in *sysclient.UpdatePostStatusReq) (*sysclient.UpdatePostStatusResp, error)