logic

package
v0.0.0-...-d345bf7 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddFlowHandler

type AddFlowHandler struct {
	// contains filtered or unexported fields
}

SettleRecordHandler shcedule billing to home business

func NewAddFlowHandler

func NewAddFlowHandler(svcCtx *svc.ServiceContext) *AddFlowHandler

func (*AddFlowHandler) ProcessTask

func (l *AddFlowHandler) ProcessTask(ctx context.Context, _ *asynq.Task) error

every one minute exec : if return err != nil , asynq will retry

type CronJob

type CronJob struct {
	// contains filtered or unexported fields
}

func NewCronJob

func NewCronJob(ctx context.Context, svcCtx *svc.ServiceContext) *CronJob

func (*CronJob) Register

func (l *CronJob) Register() *asynq.ServeMux

register job

Jump to

Keyboard shortcuts

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