Versions in this module Expand all Collapse all v1 v1.0.1 Sep 10, 2023 v1.0.0 Sep 10, 2023 Changes in this version + const MBVEmpty + const MBVFalse + const MBVTrue + const MissingParameter + const MissingParameterMessage + const Name + const UnknownErrorMessage + func CalculateScore(presentation DepPresentation) float64 + func EmailFromString(email string) evmail.Address + func NewDepValidator(smtpValidator ev.Validator) ev.Validator + type DepConverter struct + func NewDepConverter(calculateScore FuncCalculateScore) DepConverter + func NewDepConverterDefault() DepConverter + func (DepConverter) Can(_ evmail.Address, result ev.ValidationResult, opts converter.Options) bool + func (d DepConverter) Convert(email evmail.Address, resultInterface ev.ValidationResult, ...) (result interface{}) + type DepConverterForView struct + func NewDepConverterForView(depConverter DepConverter) DepConverterForView + func NewDepConverterForViewDefault() DepConverterForView + func (d DepConverterForView) Can(email evmail.Address, result ev.ValidationResult, opts converter.Options) bool + func (d DepConverterForView) Convert(email evmail.Address, resultInterface ev.ValidationResult, ...) interface{} + type DepPresentation struct + CreditsAvailable uint32 + Domain string + EmailAddress string + ErrorCode string + ErrorMessage string + IsCatchall EmptyBool + IsDisposable EmptyBool + IsDomain EmptyBool + IsFree EmptyBool + IsGreylisted EmptyBool + IsHighRisk EmptyBool + IsRole EmptyBool + IsSMTP EmptyBool + IsServerDown EmptyBool + IsSuppressed EmptyBool + IsSyntax EmptyBool + IsVerified EmptyBool + MailboxvalidatorScore float64 + Status EmptyBool + TimeTaken time.Duration + type DepPresentationForView struct + CreditsAvailable uint32 + Domain string + EmailAddress string + ErrorCode string + ErrorMessage string + IsCatchall string + IsDisposable string + IsDomain string + IsFree string + IsGreylisted string + IsHighRisk string + IsRole string + IsSMTP string + IsServerDown string + IsSuppressed string + IsSyntax string + IsVerified string + MailboxvalidatorScore string + Status string + TimeTaken string + func (d *DepPresentationForView) UnmarshalJSON(data []byte) error + type EmptyBool struct + func NewEmptyBool(boolean bool) EmptyBool + func NewEmptyBoolWithNil() EmptyBool + func ToBool(value string) (result EmptyBool) + func (e *EmptyBool) MarshalJSON() ([]byte, error) + func (e *EmptyBool) UnmarshalJSON(data []byte) error + func (e EmptyBool) ToBool() bool + func (e EmptyBool) ToString() string + type FuncCalculateScore func(presentation DepPresentation) float64