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) (aggregate provider.Aggregate, err error)
- func (a App) GetAllAggregateFor(ctx context.Context, items ...absto.Item) (map[string]provider.Aggregate, error)
- func (a App) GetAllMetadataFor(ctx context.Context, items ...absto.Item) (map[string]provider.Metadata, error)
- func (a App) GetMetadataFor(ctx context.Context, item absto.Item) (metadata provider.Metadata, err 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) Update(ctx context.Context, item absto.Item, opts ...provider.MetadataAction) (provider.Metadata, 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.Client, exclusiveApp exclusive.App) (App, error)
func (App) AMQPHandler ¶ added in v0.25.0
func (App) EventConsumer ¶ added in v0.25.0
func (App) GetAggregateFor ¶ added in v0.25.0
func (App) GetAllAggregateFor ¶ added in v0.25.0
func (App) GetAllMetadataFor ¶ added in v0.25.0
func (App) GetMetadataFor ¶ added in v0.25.0
func (App) SaveAggregateFor ¶ added in v0.25.0
Click to show internal directories.
Click to hide internal directories.