Versions in this module Expand all Collapse all v0 v0.0.3 Dec 19, 2021 v0.0.2 Dec 19, 2021 Changes in this version + var SentEmailsDuringTests = SentEmailsDuringTestsType + func CheckRateLimit(r *http.Request) bool + func Commaf(j interface{}) string + func Decrypt(key []byte, securemess string) (decodedmess string, err error) + func Encrypt(key []byte, message string) (encmess string, err error) + func GenerateBase32(length int) string + func GenerateBase64(length int) string + func GetString(a interface{}) string + func IsLocal(Addr string) bool + func SendEmail(from string, to []string, cc []string, bcc []string, subject string, ...) error + type SentEmail struct + CC []string + From string + Message []byte + Subject string + To []string + type SentEmailsDuringTestsType struct + SentEmails []SentEmail + func (se *SentEmailsDuringTestsType) AddSentEmail(from string, to []string, subject string, CC []string, message []byte) + func (se *SentEmailsDuringTestsType) ClearTestEmails() + func (se *SentEmailsDuringTestsType) IsAnyEmailSentWithStringInBodyOrSubject(expectedEmail *SentEmail) bool + func (se *SentEmailsDuringTestsType) IsAnyMatchedEmailSent(expectedEmail *SentEmail) bool