Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileNotFoundError ¶
type FileNotFoundError struct{}
func (FileNotFoundError) Error ¶
func (FileNotFoundError) Error() string
type FileSystemImageProvider ¶
func NewFileSystemImageProvider ¶
func NewFileSystemImageProvider(path string) *FileSystemImageProvider
func (*FileSystemImageProvider) GetImage ¶
func (f *FileSystemImageProvider) GetImage() (string, error)
type ImageProvider ¶
type ImageProvider interface { // GetImage should return the name and the url of image. In case of non accessible image // you may use url encoded image (eg. data:image/png,base63,...). GetImage() (name, url string, err error) // AddImage inject new image to provide to user. AddImage(name, url string) }
type NoMoreFileError ¶
type NoMoreFileError struct{}
func (NoMoreFileError) Error ¶
func (NoMoreFileError) Error() string
Click to show internal directories.
Click to hide internal directories.