Implements cahcing of album description and cover
This commit is contained in:
23
album.go
23
album.go
@@ -115,22 +115,23 @@ func (a *Album) GetBedethequeComURI() string {
|
||||
a.ID)
|
||||
}
|
||||
|
||||
// A Link represent a link to a ressource
|
||||
type Link struct {
|
||||
// Title of the link
|
||||
Title string
|
||||
// Target of the link
|
||||
Target string
|
||||
}
|
||||
|
||||
// An AlbumDescription is a more complete BD description
|
||||
//
|
||||
// It holds data that can be fetched from bedetheque.com
|
||||
type AlbumDescription struct {
|
||||
Album *Album
|
||||
|
||||
HasCover bool
|
||||
CoverExt string
|
||||
Description string
|
||||
Note float64
|
||||
|
||||
Scenarist string
|
||||
Designer string
|
||||
Colorist string
|
||||
Cycle string
|
||||
Format string
|
||||
Pages int32
|
||||
|
||||
Created time.Time
|
||||
Scenarist []Link
|
||||
Designer []Link
|
||||
Colorist []Link
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user