logic

package
v0.0.0-...-04961f1 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2024 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Consumers

func Consumers(ctx context.Context, svcCtx *svc.ServiceContext) []service.Service

Consumers 用于处理消息队列中的任务

Types

type ArticleLikeNumLogic

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

func NewArticleLikeNumLogic

func NewArticleLikeNumLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ArticleLikeNumLogic

func (*ArticleLikeNumLogic) Consume

func (l *ArticleLikeNumLogic) Consume(_, val string) error

type ArticleLogic

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

func NewArticleLogic

func NewArticleLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ArticleLogic

func (*ArticleLogic) BatchUpSertToEs

func (l *ArticleLogic) BatchUpSertToEs(ctx context.Context, data []*types.ArticleEsMsg) error

func (*ArticleLogic) Consume

func (l *ArticleLogic) Consume(_, val string) error

Jump to

Keyboard shortcuts

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