Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiskSource ¶
type DiskSource struct { Source // contains filtered or unexported fields }
func NewDiskSource ¶
func NewDiskSource(config *iiifconfig.Config) (*DiskSource, error)
type FlickrSource ¶
type FlickrSource struct { Source // contains filtered or unexported fields }
func NewFlickrSource ¶
func NewFlickrSource(config *iiifconfig.Config) (*FlickrSource, error)
type MemorySource ¶
type MemorySource struct { Source // contains filtered or unexported fields }
func NewMemorySource ¶
func NewMemorySource(body []byte) (*MemorySource, error)
type PhotoRsp ¶
type PhotoRsp struct {
Sizes PhotoSizes `json:"sizes"`
}
type PhotoSize ¶
type PhotoSize struct { Label string `json:"label"` // it turns out these get returned as both strings and ints and // that makes Go sad but we don't really care either way so... // (20160920/thisisaaronland) // Width int `json:"width"` // Height int `json:"height"` Source string `json:"source"` Url string `json:"url"` Media string `json:"media"` }
type PhotoSizes ¶
type S3Source ¶
type S3Source struct {
S3 *iiifaws.S3Connection
}
func NewS3Source ¶
func NewS3Source(cfg *iiifconfig.Config) (*S3Source, error)
type Source ¶
func NewSourceFromConfig ¶
func NewSourceFromConfig(config *iiifconfig.Config) (Source, error)
Click to show internal directories.
Click to hide internal directories.