post

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2023 License: GPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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(req *types.DeletePostReq) (resp *types.DeletePostResp, err error)

type GetPostDetailLogic

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

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

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

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

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

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

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

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)

Jump to

Keyboard shortcuts

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