Documentation
¶
Index ¶
Constants ¶
View Source
const AlbumFile = "album.xml"
View Source
const GalleryFile = "gallery.xml"
View Source
const TemplateAlbumFile = "album-template.xml"
View Source
const TemplateGalleryFile = "gallery-template.xml"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gallery ¶
type Gallery struct {
XMLName xml.Name `xml:"gallery"`
Title string `xml:"title,omitempty"`
Back string `xml:"back,omitempty"`
Copyright string `xml:"copyright,omitempty"`
Download string `xml:"download,omitempty"`
Thumb Size `xml:"thumb"`
Preview Size `xml:"preview"`
Image Size `xml:"image"`
Photos []Photo `xml:"photo"`
}
type Photo ¶
type Photo struct {
XMLName xml.Name `xml:"photo"`
Name string `xml:"name"`
Filename string `xml:"filename"`
Original Size `xml:"original"`
Title string `xml:"title,omitempty"`
Caption string `xml:"caption,omitempty"`
Date string `xml:"date,omitempty"`
ISO string `xml:"iso,omitempty"`
Exposure string `xml:"exposure,omitempty"`
Aperture string `xml:"aperture,omitempty"`
FocalLength string `xml:"length,omitempty"`
Download string `xml:"download,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.