Documentation
¶
Index ¶
- func GenerateOtpEmail(project_id, service_id, email, name, device string, length int, duration int, ...) et.Json
- func GenerateOtpSms(project_id, service_id, phone_number, name, device string, length int, ...) et.Json
- func GenerateOtpWhatsapp(project_id, service_id, phone_number, name, device string, length int, ...) et.Json
- func SendEmail(project_id, service_id string, to []et.Json, subject string, ...) et.Json
- func SendEmailByTemplate(project_id, service_id string, to []et.Json, subject string, template_id int, ...) et.Json
- func SendSms(project_id, service_id string, contactNumbers []string, content string, ...) et.Json
- func SendWhatsapp(project_id, service_id string, template_id int, contactNumbers []string, ...) et.Json
- func VerifyOtp(channel, device, kind, code string, user et.Json) (et.Item, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateOtpEmail ¶ added in v1.1.73
func GenerateOtpEmail(project_id, service_id, email, name, device string, length int, duration int, client et.Json) et.Json
* * GenerateOtpEmail * @param project_id, service_id, email, name, device string, length, duration int, client et.Json * @response et.Json *
func GenerateOtpSms ¶ added in v1.1.73
func GenerateOtpSms(project_id, service_id, phone_number, name, device string, length int, duration int, client et.Json) et.Json
* * GenerateOtp * @param project_id, service_id, channel, name, device string, length, duration int, client et.Json * @response et.Json *
func GenerateOtpWhatsapp ¶ added in v1.1.73
func GenerateOtpWhatsapp(project_id, service_id, phone_number, name, device string, length int, duration int, client et.Json) et.Json
* * GenerateOtpWhatsapp * @param project_id, service_id, phone_number, name, device string, length, duration int, client et.Json * @response et.Json *
func SendEmail ¶ added in v1.1.73
func SendEmail(project_id, service_id string, to []et.Json, subject string, html_content string, params []et.Json, tp string, client et.Json) et.Json
* * SendEmail * @param project_id, service_id string, to []et.Json, subject string, html_content string, params []et.Json, tp string, client et.Json * @response et.Json *
func SendEmailByTemplate ¶ added in v1.1.73
func SendEmailByTemplate(project_id, service_id string, to []et.Json, subject string, template_id int, params []et.Json, tp string, client et.Json) et.Json
* * SendEmailByTemplate * @param project_id, service_id string, to []et.Json, subject string, template_id int, params []et.Json, tp string, client et.Json * @response et.Json *
func SendSms ¶ added in v1.1.73
func SendSms(project_id, service_id string, contactNumbers []string, content string, params []et.Json, tp string, client et.Json) et.Json
* * SendSms * @param project_id, service_id string, contactNumbers []string, content string, params []et.Json, tp string, client et.Json * @response et.Json *
func SendWhatsapp ¶ added in v1.1.73
func SendWhatsapp(project_id, service_id string, template_id int, contactNumbers []string, params []et.Json, tp string, client et.Json) et.Json
* * SendWhatsapp * @param project_id, service_id string, template_id int, contactNumbers []string, params []et.Json, tp string, client et.Json * @response et.Json *
Types ¶
This section is empty.