Versions in this module Expand all Collapse all v0 v0.1.0 Jan 6, 2022 Changes in this version + func EncodeStr(str string) string + func IsValid(mails []mail.Address) string + type Data struct + Body string + From mail.Address + Subject string + To []mail.Address + WithLimiter bool + func (d *Data) MakeCc() string + func (d *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