twilio

package
v0.1.1-0...-f9b01a3 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SMSService

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

SMSService sends SMS via Twilio service.

func NewSMSService

func NewSMSService(settings model.SMSServiceSettings) (*SMSService, error)

NewSMSService creates, inits and returns Twilio-backed SMS service.

func (*SMSService) SendSMS

func (ss *SMSService) SendSMS(recipient, message string) error

SendSMS sends SMS messages using Twilio service.

Jump to

Keyboard shortcuts

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