func AlreadyResent(messageId, email string) bool { uri, _ := cache.Get(messageId) if uri == "" { return false } v, _ := cache.Get(email + uri) return v == Resent }
func MarkResent(messageId, email string) (uri string) { uri, _ = cache.Get(messageId) if uri != "" { cache.Set(email+uri, Resent, TTL) } return uri }
func (a *App) Status(id string) (string, error) { return cache.Get(id) }
func IsBlacklisted(thing string) bool { value, _ := cache.Get(key(thing)) return value == Value }