sms

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AwsSession

func AwsSession() *session.Session

func CheckMobile

func CheckMobile(device string, country string, mobile string, code string) (bool, error)

* * CheckMobile * Check code in cache db *

func Send

func Send(phoneNumber string, message string) (bool, interface{}, error)

func SendCountry

func SendCountry(country string, mobile string, message string) (bool, interface{}, error)

func SendCountryCtx

func SendCountryCtx(ctx context.Context, country string, mobile string, message string) (bool, interface{}, error)

func SendCtx

func SendCtx(ctx context.Context, phoneNumber string, message string) (bool, interface{}, error)

func VerifyMobile

func VerifyMobile(app string, device string, country string, phoneNumber string) error

* * VerifyMobile * Send sms message a code to six digit from validate user identity *

Types

This section is empty.

Jump to

Keyboard shortcuts

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