Documentation ¶
Index ¶
Constants ¶
View Source
const ( ErrorParamsEmpty liberr.CodeError = iota + libcfg.MinErrorComponentMail ErrorParamsInvalid ErrorComponentNotInitialized ErrorConfigInvalid ErrorStartComponent ErrorReloadComponent ErrorDependencyTLSDefault ErrorDependencyLogDefault )
View Source
const (
ComponentType = "smtp"
)
Variables ¶
This section is empty.
Functions ¶
func DefaultConfig ¶
func IsCodeError ¶
func IsCodeError() bool
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.