Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CountPostLogic ¶ added in v1.2.5
func NewCountPostLogic ¶ added in v1.2.5
func NewCountPostLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CountPostLogic
func (*CountPostLogic) CountPost ¶ added in v1.2.5
func (l *CountPostLogic) CountPost(in *pb.CountPostReq) (*pb.CountPostResp, error)
type CreatePostLogic ¶
func NewCreatePostLogic ¶
func NewCreatePostLogic(ctx context.Context, svcCtx *svc.ServiceContext) *CreatePostLogic
func (*CreatePostLogic) CreatePost ¶
func (l *CreatePostLogic) CreatePost(in *pb.CreatePostReq) (*pb.CreatePostResp, error)
type DeletePostLogic ¶
func NewDeletePostLogic ¶
func NewDeletePostLogic(ctx context.Context, svcCtx *svc.ServiceContext) *DeletePostLogic
func (*DeletePostLogic) DeletePost ¶
func (l *DeletePostLogic) DeletePost(in *pb.DeletePostReq) (*pb.DeletePostResp, error)
type ListPostLogic ¶
func NewListPostLogic ¶
func NewListPostLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListPostLogic
func (*ListPostLogic) ListPost ¶
func (l *ListPostLogic) ListPost(in *pb.ListPostReq) (*pb.ListPostResp, error)
type RetrievePostLogic ¶
func NewRetrievePostLogic ¶
func NewRetrievePostLogic(ctx context.Context, svcCtx *svc.ServiceContext) *RetrievePostLogic
func (*RetrievePostLogic) RetrievePost ¶
func (l *RetrievePostLogic) RetrievePost(in *pb.RetrievePostReq) (*pb.RetrievePostResp, error)
type SetOfficialLogic ¶ added in v1.2.0
func NewSetOfficialLogic ¶ added in v1.2.0
func NewSetOfficialLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SetOfficialLogic
func (*SetOfficialLogic) SetOfficial ¶ added in v1.2.0
func (l *SetOfficialLogic) SetOfficial(in *pb.SetOfficialReq) (*pb.SetOfficialResp, error)
type UpdatePostLogic ¶
func NewUpdatePostLogic ¶
func NewUpdatePostLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdatePostLogic
func (*UpdatePostLogic) UpdatePost ¶
func (l *UpdatePostLogic) UpdatePost(in *pb.UpdatePostReq) (*pb.UpdatePostResp, error)
Click to show internal directories.
Click to hide internal directories.