Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateFileHash ¶ added in v0.5.0
CalculateFileHash generates the SHA-256 fingerprint for the actual NZB bytes. This is used for content-based deduplication and manual upload IDs.
func GenerateCompositeID ¶ added in v0.5.0
GenerateCompositeID creates the SHA-256 PK for Indexer results. This ensure all IDs in the database are a consistent 64-character hex string.
Types ¶
type Release ¶ added in v0.5.0
type Release struct {
ID string `json:"id"`
Title string `json:"title"`
Password string `json:"password"`
GUID string `json:"guid"`
Source string `json:"source"`
DownloadURL string `json:"downloadUrl"`
Size int64 `json:"size"`
PublishDate time.Time `json:"publishDate"`
Category string `json:"category"`
CachePresent bool `json:"cache_present"`
CacheBlobSize int64 `json:"cache_blob_size"`
CacheVerifiedAt time.Time `json:"cache_verified_at"`
RedirectAllowed bool
Poster string
}
Release represents a searchable NZB release.
Click to show internal directories.
Click to hide internal directories.