logic

package
v1.2.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2023 License: GPL-2.0 Imports: 10 Imported by: 0

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

type CountPostLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type CreatePostLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type DeletePostLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type ListPostLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type RetrievePostLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type SetOfficialLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

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

type UpdatePostLogic struct {
	logx.Logger
	// contains filtered or unexported fields
}

func NewUpdatePostLogic

func NewUpdatePostLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdatePostLogic

func (*UpdatePostLogic) UpdatePost

func (l *UpdatePostLogic) UpdatePost(in *pb.UpdatePostReq) (*pb.UpdatePostResp, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL