Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Set = wire.NewSet( New, NewWeatherImageStore, wire.Bind(new(repository.WeatherImageStore), new(*WeatherImageStore)), NewImageStore, wire.Bind(new(repository.ImageStore), new(*ImageStore)), )
Set provides a wire set.
Functions ¶
This section is empty.
Types ¶
type ImageStore ¶
type ImageStore struct { *Client // contains filtered or unexported fields }
func NewImageStore ¶
func NewImageStore(cli *Client, conf *config.Storage) (*ImageStore, error)
func (*ImageStore) Fetch ¶
func (w *ImageStore) Fetch(ctx context.Context, key string) (io.ReadCloser, int, error)
type WeatherImageStore ¶
type WeatherImageStore struct { *Client // contains filtered or unexported fields }
func NewWeatherImageStore ¶
Click to show internal directories.
Click to hide internal directories.