Documentation ¶
Index ¶
- Variables
- func AuthRequired(c *gin.Context)
- func CORSMiddleware() gin.HandlerFunc
- func CreateEmail(c *gin.Context)
- func CustomEmailSend(c *gin.Context)
- func DeleteEmail(c *gin.Context)
- func EmailSend(c *gin.Context)
- func GetEmails(c *gin.Context)
- func Ping(c *gin.Context)
- func SendMessage(channel *amqp.Channel, queueName, emailTo, subject, message string) error
- func SetJsonLogger() gin.HandlerFunc
- func UpdateEmail(c *gin.Context)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MqChannel *amqp.Channel MqQUeue amqp.Queue Db db.Repository )
Functions ¶
func AuthRequired ¶
func CORSMiddleware ¶
func CORSMiddleware() gin.HandlerFunc
func CreateEmail ¶
/////////////////////// Create email ///////////////////////
func CustomEmailSend ¶
/////////////////////// Custom email send ///////////////////////
func DeleteEmail ¶
/////////////////////// Delete email ///////////////////////
func SendMessage ¶
func SetJsonLogger ¶
func SetJsonLogger() gin.HandlerFunc
func UpdateEmail ¶
/////////////////////// Update email ///////////////////////
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.