Documentation ¶
Index ¶
- Constants
- func EmailDialer() *gomail.Dialer
- func SendEmail(subject, email, body string) error
- func SendOrderDetailsEmail(email, subject string, order *models.OrderDetailsView) error
- func SendSignUpVerificationEmail(email, subject, body string) error
- func ServeAsStreamFromMinio(fileName string) (*minio.Object, error)
- func ServeFromMinio(fileName string) (string, error)
- func UploadToMinio(fileName, contentType string, reader io.Reader, size int64) error
Constants ¶
View Source
const (
TaskRetryDelay = time.Second * 30
)
Variables ¶
This section is empty.
Functions ¶
func EmailDialer ¶
func SendOrderDetailsEmail ¶
func SendOrderDetailsEmail(email, subject string, order *models.OrderDetailsView) error
func ServeAsStreamFromMinio ¶
func ServeFromMinio ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.