Documentation ¶
Index ¶
- func Path(item absto.Item) string
- type App
- func (a App) AMQPHandler(ctx context.Context, message amqp.Delivery) error
- func (a App) CanHaveExif(item absto.Item) bool
- func (a App) EventConsumer(ctx context.Context, e provider.Event)
- func (a App) GetAggregateFor(ctx context.Context, item absto.Item) (provider.Aggregate, error)
- func (a App) GetExifFor(ctx context.Context, item absto.Item) (exas.Exif, error)
- func (a App) ListAggregateFor(ctx context.Context, items ...absto.Item) (map[string]provider.Aggregate, error)
- func (a App) ListDir(ctx context.Context, item absto.Item) ([]absto.Item, error)
- func (a App) ListExifFor(ctx context.Context, items ...absto.Item) (map[string]exas.Exif, error)
- func (a App) Rename(ctx context.Context, old, new absto.Item) error
- func (a App) SaveAggregateFor(ctx context.Context, item absto.Item, aggregate provider.Aggregate) error
- func (a App) SaveExifFor(ctx context.Context, item absto.Item, exif exas.Exif) error
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type App ¶
type App struct {
// contains filtered or unexported fields
}
func New ¶
func New(config Config, storageApp absto.Storage, prometheusRegisterer prometheus.Registerer, tracerApp tracer.App, amqpClient *amqpclient.Client, redisClient redis.App) (App, error)
func (App) AMQPHandler ¶ added in v0.23.0
func (App) GetAggregateFor ¶
func (App) GetExifFor ¶ added in v0.11.0
func (App) ListAggregateFor ¶ added in v0.23.0
func (App) ListExifFor ¶ added in v0.23.0
func (App) SaveAggregateFor ¶ added in v0.21.1
Click to show internal directories.
Click to hide internal directories.