Documentation
¶
Index ¶
- func AwsSession() *session.Session
- 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 Email(to string, subject string, message string) (bool, error)
- func SMS(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)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteFile ¶
* * DeleteFile * @params url string * @return bool, error *
func DeleteS3 ¶
func DeleteS3(bucket, key string) (*s3.DeleteObjectOutput, error)
* * DeleteS3 * @params bucket string * @params key string * @return *s3.DeleteObjectOutput, error *
func DownloadS3 ¶
func DownloadS3(bucket, key string) (*s3.GetObjectOutput, error)
* * DownloadS3 * @params bucket string * @params key string * @return *s3.GetObjectOutput, error *
func DownloaderFile ¶
* * DownloaderFile * @params url string * @return string, error *
func UploaderB64 ¶
* * UploaderB64 * @params b64 string * @params filename string * @params contentType string * @return et.Json, error *
func UploaderFile ¶
* * UploaderFile * @params r *http.Request * @params folder string * @params name string * @return et.Json, error *
func UploaderS3 ¶
func UploaderS3(bucket, filename, contentType string, contentFile []byte) (*s3manager.UploadOutput, error)
* * UploaderS3 * @params bucket string * @params filename string * @params contentType string * @params contentFile []byte * @return *s3manager.UploadOutput, error *
Types ¶
This section is empty.