sms

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SMSDriver

type SMSDriver interface {
	Name() string
	Init(app *core.App, config interface{}) error
	SendMessage(mobileNumber string, message string, sendDateTime *time.Time) (*sms_models.SMSResponse, error)
}

type SMSManager

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

func NewSMSManager

func NewSMSManager(app *core.App) *SMSManager

func (*SMSManager) CreateSMSFactory

func (sm *SMSManager) CreateSMSFactory(driverName string, config interface{}) (SMSDriver, error)

func (*SMSManager) RegisterDriver

func (sm *SMSManager) RegisterDriver(driver SMSDriver)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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