newsbot-api/domain/model/cache.go

16 lines
217 B
Go
Raw Permalink Normal View History

package model
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
}