newsbot-api/internal/domain/models.go

15 lines
218 B
Go
Raw Normal View History

2024-04-23 07:15:38 -07:00
package domain
2024-04-23 07:15:38 -07:00
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
}