Documentation ¶
Index ¶
- func AwsSession() *session.Session
- func CheckMobile(device string, country string, mobile string, code string) (bool, error)
- func DeleteFile(url string) (bool, error)
- func DeleteS3(bucket, key string) (*s3.DeleteObjectOutput, error)
- func DownloadS3(bucket, key string) (*s3.GetObjectOutput, error)
- func DownloaderFile(url string) (string, error)
- func SendSMS(country string, mobile string, message string) (bool, interface{}, error)
- func UploaderB64(b64, filename, contentType string) (et.Json, error)
- func UploaderFile(r *http.Request, folder, name string) (et.Json, error)
- func UploaderS3(bucket, filename, contentType string, contentFile []byte) (*s3manager.UploadOutput, error)
- func VerifyMobile(app string, device string, country string, phoneNumber string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckMobile ¶
* * CheckMobile * Check code in cache db *
func DeleteFile ¶
func DownloadS3 ¶
func DownloadS3(bucket, key string) (*s3.GetObjectOutput, error)
func DownloaderFile ¶
func UploaderS3 ¶
func UploaderS3(bucket, filename, contentType string, contentFile []byte) (*s3manager.UploadOutput, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.