Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageStore ¶
type ImageStore struct {
// contains filtered or unexported fields
}
ImageStore is an image.Store implementation that uses PostgreSQL as the underlying storage.
func NewImageStore ¶
func NewImageStore( cfg *viper.Viper, db DB, hc img.HTTPClient, ) *ImageStore
NewImageStore creates a new ImageStore instance.
func (*ImageStore) DownloadAndSaveImage ¶
DownloadAndSaveImage implements the image.Store interface.
Click to show internal directories.
Click to hide internal directories.