task

package
v1.15.10 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2026 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QuotaTaskLogic

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

QuotaTaskLogic is the queue shell for the admin-scheduled quota grants; the business logic lives in the subscription module (ADR-001 step 6 preparation).

func NewQuotaTaskLogic

func NewQuotaTaskLogic(svcCtx *svc.ServiceContext) *QuotaTaskLogic

func (*QuotaTaskLogic) ProcessTask

func (l *QuotaTaskLogic) ProcessTask(ctx context.Context, t *asynq.Task) error

type RateLogic added in v1.1.8

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

func NewRateLogic added in v1.1.8

func NewRateLogic(svcCtx *svc.ServiceContext) *RateLogic

func (*RateLogic) ProcessTask added in v1.1.8

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

Jump to

Keyboard shortcuts

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