MailerServer/modules/structs/rabbitmq.go

15 lines
303 B
Go

package structs
type RabbitMqMessage struct {
Cmd int
Rec string
Body any
}
type RabbitMqMailMessage struct {
UserMail string `json:"m"`
TemplateId string `json:"t"`
LanguageId string `json:"l"`
BodyData map[string]interface{} `json:"b"`
}