Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config holds configuration options for Twilio.
type ConfigOption ¶
type ConfigOption func(*client)
ConfigOption configures the service.
func WithConfig ¶
func WithConfig(config Config) ConfigOption
WithConfig configures the service with a Config.
func WithDefaults ¶
func WithDefaults(accountSID, authToken, smsSender string) ConfigOption
WithDefaults configures a Twilio client with a user's account SID and authentication token and configures all other values to default.
Click to show internal directories.
Click to hide internal directories.