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, githubRL *rate.Limiter, ) *ImageStore
NewImageStore creates a new ImageStore instance.
func (*ImageStore) DownloadAndSaveImage ¶ added in v0.14.0
DownloadAndSaveImage implements the image.Store interface.
Click to show internal directories.
Click to hide internal directories.