exif

package
v0.24.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 19, 2022 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Path added in v0.18.0

func Path(item absto.Item) string

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 (a App) AMQPHandler(ctx context.Context, message amqp.Delivery) error

func (App) CanHaveExif added in v0.9.0

func (a App) CanHaveExif(item absto.Item) bool

func (App) EventConsumer

func (a App) EventConsumer(ctx context.Context, e provider.Event)

func (App) GetAggregateFor

func (a App) GetAggregateFor(ctx context.Context, item absto.Item) (provider.Aggregate, error)

func (App) GetExifFor added in v0.11.0

func (a App) GetExifFor(ctx context.Context, item absto.Item) (exas.Exif, error)

func (App) ListAggregateFor added in v0.23.0

func (a App) ListAggregateFor(ctx context.Context, items ...absto.Item) (map[string]provider.Aggregate, error)

func (App) ListDir added in v0.18.0

func (a App) ListDir(ctx context.Context, item absto.Item) ([]absto.Item, error)

func (App) ListExifFor added in v0.23.0

func (a App) ListExifFor(ctx context.Context, items ...absto.Item) (map[string]exas.Exif, error)

func (App) Rename added in v0.18.0

func (a App) Rename(ctx context.Context, old, new absto.Item) error

func (App) SaveAggregateFor added in v0.21.1

func (a App) SaveAggregateFor(ctx context.Context, item absto.Item, aggregate provider.Aggregate) error

func (App) SaveExifFor added in v0.16.0

func (a App) SaveExifFor(ctx context.Context, item absto.Item, exif exas.Exif) error

type Config

type Config struct {
	// contains filtered or unexported fields
}

func Flags

func Flags(fs *flag.FlagSet, prefix string) Config

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL