Documentation
¶
Overview ¶
Package sms provides SMS notification drivers.
Index ¶
- type TwilioDriver
- func (d *TwilioDriver) Channel() string
- func (d *TwilioDriver) Fields() []driver.Field
- func (d *TwilioDriver) Name() string
- func (d *TwilioDriver) Send(ctx context.Context, msg *driver.OutboundMessage) (*driver.DeliveryResult, error)
- func (d *TwilioDriver) Validate(credentials, _ map[string]string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TwilioDriver ¶
type TwilioDriver struct{}
TwilioDriver delivers SMS via the Twilio REST API.
func (*TwilioDriver) Channel ¶
func (d *TwilioDriver) Channel() string
func (*TwilioDriver) Fields ¶
func (d *TwilioDriver) Fields() []driver.Field
Fields describes what the Twilio driver reads.
func (*TwilioDriver) Name ¶
func (d *TwilioDriver) Name() string
func (*TwilioDriver) Send ¶
func (d *TwilioDriver) Send(ctx context.Context, msg *driver.OutboundMessage) (*driver.DeliveryResult, error)
Click to show internal directories.
Click to hide internal directories.