Documentation ¶
Index ¶
Constants ¶
View Source
const ( ErrorParamEmpty liberr.CodeError = iota + libcfg.MinErrorComponentMail ErrorParamInvalid ErrorComponentNotInitialized ErrorConfigInvalid ErrorStartComponent ErrorReloadComponent ErrorDependencyTLSDefault ErrorDependencyLogDefault )
View Source
const (
ComponentType = "smtp"
)
Variables ¶
This section is empty.
Functions ¶
func DefaultConfig ¶
func RegisterNew ¶
func SetDefaultConfig ¶
func SetDefaultConfig(cfg []byte)
Types ¶
type ComponentMail ¶
func Load ¶
func Load(getCpt libcfg.FuncComponentGet, key string) ComponentMail
func New ¶
func New() ComponentMail
Click to show internal directories.
Click to hide internal directories.