Documentation ¶
Index ¶
Constants ¶
View Source
const ServiceName = "telesign"
Variables ¶
This section is empty.
Functions ¶
func NewSMSDeliveryService ¶
func NewSMSDeliveryService(config interface{}) pnv10n.SMSDeliveryService
Types ¶
type Config ¶
type Config struct { CustomerID string `env:"CUSTOMER_ID,required"` APIKey string `env:"API_KEY,required"` }
func ConfigSkeleton ¶
func ConfigSkeleton() Config
type SMSDeliveryService ¶
type SMSDeliveryService struct {
// contains filtered or unexported fields
}
func (*SMSDeliveryService) SendTextMessage ¶
func (sms *SMSDeliveryService) SendTextMessage(recipient, text string) error
SendTextMessage is use for send text message using sms delivery service
Click to show internal directories.
Click to hide internal directories.