sms

package
v0.0.0-...-596c4a4 Latest Latest
Warning

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

Go to latest
Published: May 14, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Message

type Message struct {
	TemplateParam string `json:"templateParam"`
	TemplateCode  string `json:"templateCode"`
}

type Sender

type Sender interface {
	Send(ctx context.Context, phoneNumber string, message Message) error
	SendBatch(ctx context.Context, phoneNumbers []string, messages Message) error
}

func LoadPlugin

func LoadPlugin(config *plugin.LoadConfig) (Sender, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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