Versions in this module Expand all Collapse all v0 v0.1.0 Jan 4, 2022 Changes in this version + func IsValid(email []string) string + type Data struct + Body string + From mail.Address + Subject string + To []mail.Address + WithLimiter bool + func (e *Data) Validate() error + type EmailProvider interface + Send func(data *Data) error + type Limiter struct + func NewLimiter(max int, dif time.Duration) *Limiter + func (l *Limiter) Add() + func (l *Limiter) Check() + func (l *Limiter) IsOn() bool