Versions in this module Expand all Collapse all v0 v0.32.2 Jan 3, 2018 v0.32.1 Jan 2, 2018 Changes in this version + const DefaultResourceType + type Cloner interface + WithNewBase func(base string) Resource + type Image struct + func (i *Image) Fill(spec string) (*Image, error) + func (i *Image) Fit(spec string) (*Image, error) + func (i *Image) Height() int + func (i *Image) Resize(spec string) (*Image, error) + func (i *Image) Width() int + func (i *Image) WithNewBase(base string) Resource + func (l Image) AbsSourceFilename() string + func (l Image) Permalink() string + func (l Image) Publish() error + func (l Image) RelPermalink() string + func (l Image) ResourceType() string + type Imaging struct + Quality int + ResampleFilter string + type Resource interface + Permalink func() string + RelPermalink func() string + ResourceType func() string + type Resources []Resource + func (r Resources) ByType(tp string) []Resource + func (r Resources) GetByPrefix(prefix string) Resource + type Source interface + AbsSourceFilename func() string + Publish func() error + type Spec struct + AbsGenImagePath string + func NewSpec(s *helpers.PathSpec, mimeTypes media.Types) (*Spec, error) + func (r *Spec) CacheStats() string + func (r *Spec) DeleteCacheByPrefix(prefix string) + func (r *Spec) IsInCache(key string) bool + func (r *Spec) NewResourceFromFile(linker func(base string) string, absPublishDir string, file source.File, ...) (Resource, error) + func (r *Spec) NewResourceFromFilename(linker func(base string) string, ...) (Resource, error)