Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SenderConfig ¶
type SenderConfig interface { // Phone number used for sending. PhoneNumber() string // Used to identity account. AccountID() string // Used to authenticate account. AuthToken() string }
SenderConfig - To configure sms sender.
func NewEnvConfig ¶
func NewEnvConfig() (SenderConfig, error)
NewEnvConfig - Provides a new config from environment variables for sms sender.
Click to show internal directories.
Click to hide internal directories.