Documentation
¶
Index ¶
- func Init(smsConfig SmsConfig) error
- func SendSmsBlend(params map[string]string, phoneNumbers []string) (string, error)
- func SendSmsBlendWithTemplateId(templateId string, params map[string]string, phoneNumbers []string) (string, error)
- func SendSmsDirect(channelKey string, templateId string, params map[string]string, ...) (string, error)
- func SendSmsDirectAsync(channelKey string, templateId string, params map[string]string, ...)
- type SmsConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SendSmsBlend ¶
func SendSmsDirect ¶
Types ¶
type SmsConfig ¶
type SmsConfig struct { //全场唯一必填参数 Providers []provider.SmsProvider //下面都是定制化 DefaultChannelKey string LoadBalanceStrategy strategy.LoadBalanceStrategy HttpClient client.HttpClient }
Click to show internal directories.
Click to hide internal directories.