job

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2023 License: GPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Onboard

type Onboard struct {
	SesAdapter                adaptor.SESAdapter
	SqsAdapter                adaptor.SQSAdapter
	Logger                    *zap.Logger
	QueueNotificationEmailOtp *string
}

func (*Onboard) SendOtpEmail

func (o *Onboard) SendOtpEmail() *model.BusinessError

type OnboardWatcher

type OnboardWatcher interface {
	SendOtpEmail() *model.BusinessError
}

func NewOnboard

func NewOnboard(o Onboard) OnboardWatcher

type Tier

type Tier struct {
	Dao     repository.TierPersister
	Expired *time.Duration
	Logger  *zap.Logger
}

func (*Tier) Expire

func (t *Tier) Expire()

type TierWatcher

type TierWatcher interface {
	Expire()
}

func NewTier

func NewTier(t Tier) TierWatcher

type Transaction

type Transaction struct {
	SesAdapter                adaptor.SESAdapter
	SqsAdapter                adaptor.SQSAdapter
	Logger                    *zap.Logger
	QueueNotificationEmailTrx *string
}

func (*Transaction) SendInvoiceEmail

func (t *Transaction) SendInvoiceEmail() *model.BusinessError

type TransactionWatcher

type TransactionWatcher interface {
	SendInvoiceEmail() *model.BusinessError
}

func NewTransaction

func NewTransaction(t Transaction) TransactionWatcher

Jump to

Keyboard shortcuts

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