Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileSystemImage ¶
type FileSystemImage struct { URL string // contains filtered or unexported fields }
FileSystemImage fetches an image from a URL.
func (*FileSystemImage) Extension ¶
func (fsImage *FileSystemImage) Extension() string
Extension ...
func (*FileSystemImage) Read ¶
func (fsImage *FileSystemImage) Read() (obj interface{}, err error)
Read ...
type Image ¶
type Image interface { // Image ... Image() image.Image // Data ... Data() []byte // Format ... Format() string // Extension ... Extension() string }
Image ...
type NetworkImage ¶
type NetworkImage struct { URL string // contains filtered or unexported fields }
NetworkImage fetches an image from a URL.
func (*NetworkImage) Read ¶
func (networkImage *NetworkImage) Read() (obj interface{}, err error)
Read ...
Click to show internal directories.
Click to hide internal directories.