aws

package
v0.0.146 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AwsSession

func AwsSession() *session.Session

* * AWS Session *

func CheckMobile

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

* * CheckMobile * Check code in cache db *

func DeleteFile

func DeleteFile(url string) (bool, error)

func DeleteS3

func DeleteS3(bucket, key string) (*s3.DeleteObjectOutput, error)

func DownloadS3

func DownloadS3(bucket, key string) (*s3.GetObjectOutput, error)

func DownloaderFile

func DownloaderFile(url string) (string, error)

func SendSMS

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

func UploaderB64

func UploaderB64(b64, filename, contentType string) (et.Json, error)

func UploaderFile

func UploaderFile(r *http.Request, folder, name string) (et.Json, error)

* * *

func UploaderS3

func UploaderS3(bucket, filename, contentType string, contentFile []byte) (*s3manager.UploadOutput, 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