package config

import (
	"github.com/zeromicro/go-queue/kq"
	"github.com/zeromicro/go-zero/core/service"
)

type Config struct {
	service.ServiceConf
	Kmq  kq.KqConf
	Mail MailConf
}

type MailConf struct {
	Enabled            bool   `json:",optional"`
	Host               string `json:",optional"`
	Port               int    `json:",optional"`
	Username           string `json:",optional"`
	Password           string `json:",optional"`
	FromAddress        string `json:",optional"`
	FromName           string `json:",optional"`
	UseSSL             bool   `json:",optional"`
	UseStartTLS        bool   `json:",optional"`
	InsecureSkipVerify bool   `json:",optional"`
	ReplyTo            string `json:",optional"`
}
