Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrUnsupportedSmsSenderDriver = errors.New("unsupported sms sender driver")
)
Functions ¶
func ToSmsSender ¶
Types ¶
type DummySmsSender ¶
type DummySmsSender struct {
// contains filtered or unexported fields
}
type MockSmsSender ¶
type PomeloSmsSender ¶
type PomeloSmsSender struct {
// contains filtered or unexported fields
}
type PomeloSmsSenderOption ¶
func NewPomeloSmsSenderOption ¶
func NewPomeloSmsSenderOption() *PomeloSmsSenderOption
type SmsSender ¶
type SmsSender interface {
SendSms(ctx context.Context, id string, numbers []string, arguments map[string]string) error
}
func NewDummySmsSender ¶
func NewPomeloSmsSender ¶
func NewSmsSender ¶
type SmsSenderFactory ¶
Click to show internal directories.
Click to hide internal directories.