Documentation
¶
Index ¶
- func Path(item absto.Item) string
- type App
- func (a App) AmqpHandler(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) ListDir(ctx context.Context, item absto.Item) ([]absto.Item, 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
}
App of package
func New ¶
func New(config Config, storageApp absto.Storage, prometheusRegisterer prometheus.Registerer, tracerApp tracer.App, amqpClient *amqpclient.Client, redisClient redis.App) (App, error)
New creates new App from Config
func (App) AmqpHandler ¶ added in v0.10.0
AmqpHandler handle exif message
func (App) CanHaveExif ¶ added in v0.9.0
CanHaveExif determine if exif can be extracted for given pathname
func (App) EventConsumer ¶
EventConsumer handle event pushed to the event bus
func (App) GetAggregateFor ¶
GetAggregateFor return aggregated value for a given directory
func (App) GetExifFor ¶ added in v0.11.0
GetExifFor return exif value for a given item
Click to show internal directories.
Click to hide internal directories.