Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnvAccessor ¶
func EnvAccessor() pkgadapter.EnvConfigAccessor
EnvAccessor returns an accessor for the source's adapter envConfig.
func NewAdapter ¶
func NewAdapter(ctx context.Context, env pkgadapter.EnvConfigAccessor, ceClient cloudevents.Client) pkgadapter.Adapter
NewAdapter returns a constructor for the source's adapter.
Types ¶
type Message ¶
type Message struct { MessageSid string `json:"message_sid"` SmsStatus string `json:"sms_status"` FromCountry string `json:"from_country"` NumSegments string `json:"num_segments"` ToZip string `json:"to_zip"` NumMeda string `json:"num_meda"` AccountSid string `json:"account_sid"` SmsMessageSid string `json:"sms_message_sid"` ApiVersion string `json:"api_version"` ToCountry string `json:"to_country"` ToCity string `json:"to_city"` FromZip string `json:"from_zip"` SmsSid string `json:"sms_sid"` FromState string `json:"from_state"` Body string `json:"body"` From string `json:"from"` FromCity string `json:"from_city"` To string `json:"to"` ToState string `json:"to_state"` }
Message represents a Twilio SMS.
Click to show internal directories.
Click to hide internal directories.