service

package
v1.1.73 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 17, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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 *

func VerifyOtp added in v1.1.73

func VerifyOtp(channel, device, kind, code string, user et.Json) (et.Item, error)

* * VerifyOtp * @param channel, device, kind, code string, user et.Json * @response et.Item, error *

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL