exif

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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) (App, error)

New creates new App from Config

func (App) AmqpHandler added in v0.10.0

func (a App) AmqpHandler(message amqp.Delivery) error

AmqpHandler handle exif message

func (App) CanHaveExif added in v0.9.0

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

CanHaveExif determine if exif can be extracted for given pathname

func (App) EventConsumer

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

EventConsumer handle event pushed to the event bus

func (App) GetAggregateFor

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

GetAggregateFor return aggregated value for a given directory

func (App) GetExifFor added in v0.11.0

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

GetExifFor return exif value for a given item

type Config

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

Config of package

func Flags

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

Flags adds flags for configuring package

Jump to

Keyboard shortcuts

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