newsbot-api/domain/models/cache.go

17 lines
223 B
Go
Raw Normal View History

2022-12-10 11:12:53 -08:00
package models
import (
"time"
)
type CacheItem struct {
Key string
Value string
// Group defines what it should be a reference to.
// youtube, reddit, ect
Group string
Expires time.Time
IsTainted bool
}