twilio

package
v0.0.0-...-55fb956 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TwilioHttpClient = &http.Client{
		Timeout: 10 * time.Second,
	}
)

Functions

func SendAllSMS

func SendAllSMS(client *http.Client, cfg *SMSConfig, message string) error

func SendSMS

func SendSMS(client *http.Client, cfg *SMSConfig, to, message string) error

Types

type SMSConfig

type SMSConfig struct {
	AccountSid string
	AuthToken  string
	From       string
	To         []string
}

Jump to

Keyboard shortcuts

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