A small project that collects various nice things to get started with Go Web Development.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

29 lines
392 B

package common_email
import (
"github.com/redis/go-redis/v9"
"github.com/wneessen/go-mail"
"context"
)
type EmailMessage struct {
To string
From string
Subject string
Template string
Data any
}
type Sender struct {
redis_client *redis.Client
ctx context.Context
}
type Router struct {
redis_client *redis.Client
smtp_client *mail.Client
ctx context.Context
}