smslogic

package
v1.19.1 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2026 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dependencies added in v1.19.0

type Dependencies struct {
	Store  repository.Store
	Mobile func() config.MobileConfig
	Model  func() string
}

type SendSmsLogic

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

func NewSendSmsLogic

func NewSendSmsLogic(deps Dependencies) *SendSmsLogic

func (*SendSmsLogic) ProcessTask

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

type SmsSendCount

type SmsSendCount struct {
	Count    int   `json:"count"`
	CreateAt int64 `json:"create_at"`
}

Jump to

Keyboard shortcuts

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