service

package
v1.1.77 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetId added in v1.1.74

func GetId(client_id, kind, description string) string

* * GetId * @param client_id, kind, description string * @response string *

func GetStatus added in v1.1.74

func GetStatus(serviceId string) (et.Json, error)

* * GetStatus * @param serviceId string * @response et.Json, error *

func SendEmail added in v1.1.73

func SendEmail(project_id string, to []et.Json, subject string, html_content string, params []et.Json, tp TpMessage, clientId string) et.Json

* * SendEmail * @param project_id string, to []et.Json, subject string, html_content string, params []et.Json, tp TpMessage, clientId string * @response et.Json *

func SendEmailByTemplate added in v1.1.73

func SendEmailByTemplate(project_id string, to []et.Json, subject string, template_id int, params []et.Json, tp TpMessage, clientId string) et.Json

* * SendEmailByTemplate * @param project_id string, to []et.Json, subject string, template_id int, params []et.Json, tp TpMessage, clientId string * @response et.Json *

func SendOtpEmail added in v1.1.74

func SendOtpEmail(project_id string, email, name, device string, length int, duration int, clientId string) et.Json

* * SendOtpEmail * @param project_id string, email, name, device string, length, duration int, clientId string * @response et.Json *

func SendOtpSms added in v1.1.74

func SendOtpSms(project_id string, phone_number, name, device string, length int, duration int, clientId string) et.Json

* * SendOtp * @param project_id string, channel, name, device string, length, duration int, clientId string * @response et.Json *

func SendOtpWhatsapp added in v1.1.74

func SendOtpWhatsapp(project_id string, phone_number, name, device string, length int, duration int, clientId string) et.Json

* * SendOtpWhatsapp * @param project_id string, phone_number, name, device string, length, duration int, clientId string * @response et.Json *

func SendSms added in v1.1.73

func SendSms(project_id string, contactNumbers []string, content string, params []et.Json, tp TpMessage, clientId string) et.Json

* * SendSms * @param project_id string, contactNumbers []string, content string, params []et.Json, tp TpMessage, clientId string * @response et.Json *

func SendWhatsapp added in v1.1.73

func SendWhatsapp(project_id string, template_id int, contactNumbers []string, params []et.Json, tp TpMessage, clientId string) et.Json

* * SendWhatsapp * @param project_id string, template_id int, contactNumbers []string, params []et.Json, tp TpMessage, clientId string * @response et.Json *

func SetStatus added in v1.1.74

func SetStatus(serviceId string, status et.Json)

* * SetStatus * @param serviceId string, status et.Json *

func VerifyOtp added in v1.1.73

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

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

Types

type TpMessage added in v1.1.74

type TpMessage int

Type message

const (
	TpTransactional TpMessage = iota
	TpComercial
)

func (TpMessage) String added in v1.1.74

func (tp TpMessage) String() string

Jump to

Keyboard shortcuts

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