Documentation ¶
Index ¶
Constants ¶
View Source
const ServiceName = "nexmo"
Variables ¶
This section is empty.
Functions ¶
func NewSMSDeliveryService ¶
func NewSMSDeliveryService(config interface{}) pnv10n.SMSDeliveryService
Types ¶
type Config ¶
type Config struct { APIKey string `env:"API_KEY,required"` APISecret string `env:"API_SECRET,required"` Number string `env:"NUMBER,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
Click to show internal directories.
Click to hide internal directories.