Documentation ¶
Index ¶
- type BlobSource
- type FlickrSource
- type MemorySource
- type PhotoRsp
- type PhotoSize
- type PhotoSizes
- type Source
- func NewBlobSource(config *iiifconfig.Config) (Source, error)
- func NewBlobSourceFromURI(uri string) (Source, error)
- func NewDiskSource(config *iiifconfig.Config) (Source, error)
- func NewMemorySource(body []byte) (Source, error)
- func NewS3Source(cfg *iiifconfig.Config) (Source, error)
- func NewSourceFromConfig(config *iiifconfig.Config) (Source, error)
- type URISource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlobSource ¶
type BlobSource struct { Source // contains filtered or unexported fields }
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 }
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 Source ¶
func NewBlobSource ¶
func NewBlobSource(config *iiifconfig.Config) (Source, error)
func NewBlobSourceFromURI ¶
func NewDiskSource ¶
func NewDiskSource(config *iiifconfig.Config) (Source, error)
func NewMemorySource ¶
func NewS3Source ¶
func NewS3Source(cfg *iiifconfig.Config) (Source, error)
func NewSourceFromConfig ¶
func NewSourceFromConfig(config *iiifconfig.Config) (Source, error)
Click to show internal directories.
Click to hide internal directories.