logic

package
v0.0.0-...-29acfd5 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(ctx context.Context, svcCtx *svc.ServiceContext, l logx.Logger, blogModel *model.Blog) (*blog.Blog, error)

Types

type GetBlogUserInfosLogic

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

func NewGetBlogUserInfosLogic

func NewGetBlogUserInfosLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetBlogUserInfosLogic

func (*GetBlogUserInfosLogic) GetBlogUserInfos

type GetByUrlLogic

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

func NewGetByUrlLogic

func NewGetByUrlLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetByUrlLogic

func (*GetByUrlLogic) GetByUrl

func (l *GetByUrlLogic) GetByUrl(in *blog.GetByUrlReq) (*blog.Blog, error)

type GetLogic

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

func NewGetLogic

func NewGetLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetLogic

func (*GetLogic) Get

func (l *GetLogic) Get(in *blog.GetReq) (*blog.Blog, error)

type GetPageViewsLogic

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

func NewGetPageViewsLogic

func NewGetPageViewsLogic(ctx context.Context, svcCtx *svc.ServiceContext) *GetPageViewsLogic

func (*GetPageViewsLogic) GetPageViews

func (l *GetPageViewsLogic) GetPageViews(in *blog.GetPageViewsReq) (*blog.PageViews, error)

type ListByUserLogic

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

func NewListByUserLogic

func NewListByUserLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListByUserLogic

func (*ListByUserLogic) ListByUser

func (l *ListByUserLogic) ListByUser(in *blog.ListByUserReq) (*blog.ListByUserResp, error)

Jump to

Keyboard shortcuts

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