emailLogic

package
v1.2.7 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2026 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchEmailLogic added in v1.0.4

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

func NewBatchEmailLogic added in v1.0.4

func NewBatchEmailLogic(svcCtx *svc.ServiceContext) *BatchEmailLogic

func (*BatchEmailLogic) ProcessTask added in v1.0.4

func (l *BatchEmailLogic) ProcessTask(ctx context.Context, task *asynq.Task) error

type ErrorInfo added in v1.0.4

type ErrorInfo struct {
	Error string `json:"error"`
	Email string `json:"email"`
	Time  int64  `json:"time"`
}

type SendEmailLogic

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

func NewSendEmailLogic

func NewSendEmailLogic(svcCtx *svc.ServiceContext) *SendEmailLogic

func (*SendEmailLogic) ProcessTask

func (l *SendEmailLogic) ProcessTask(ctx context.Context, task *asynq.Task) error

Jump to

Keyboard shortcuts

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