app-cloudep-notification-se.../internal/config/config.go

40 lines
573 B
Go
Raw Normal View History

2024-08-20 06:35:14 +00:00
package config
import "github.com/zeromicro/go-zero/zrpc"
type Config struct {
zrpc.RpcServerConf
2025-03-01 14:10:00 +00:00
SMTPConfig struct {
Enable bool
Sort int
GoroutinePoolNum int
Host string
Port int
2025-03-01 14:10:00 +00:00
Username string
Password string
}
2025-03-01 14:10:00 +00:00
AmazonSesSettings struct {
Enable bool
Sort int
PoolSize int
Region string
Sender string
Charset string
AccessKey string
SecretKey string
Token string
}
MitakeSMSSender struct {
Enable bool
Sort int
PoolSize int
User string
Password string
}
2024-08-20 06:35:14 +00:00
}