post

package
v1.6.2 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 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 SetOfficialLogic added in v1.5.0

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

func NewSetOfficialLogic added in v1.5.0

func NewSetOfficialLogic(ctx context.Context, svcCtx *svc.ServiceContext) *SetOfficialLogic

func (*SetOfficialLogic) SetOfficial added in v1.5.0

func (l *SetOfficialLogic) SetOfficial(req *types.SetOfficialReq) (resp *types.SetOfficialResp, err error)

Jump to

Keyboard shortcuts

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