mirror of
https://github.com/chaitin/MonkeyCode.git
synced 2026-11-22 19:39:31 +08:00
移除 AES 加密依赖,session 内部处理 cookie 读写。 新增 bridge.go 桥接内部项目,重构 middleware 和 handler 适配新 session API。
9 lines
181 B
Go
9 lines
181 B
Go
package domain
|
|
|
|
import "context"
|
|
|
|
// EmailSender 邮件发送接口
|
|
type EmailSender interface {
|
|
SendResetPasswordEmail(ctx context.Context, to, username, resetURL string) error
|
|
}
|