Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProcessorProvider ¶
func NewProcessorProvider(cfg Config, deps Dependencies) (providers.ProcessorProvider, error)
NewProcessorProvider creates a new processor provider with an active grpc connection.
Types ¶
type Dependencies ¶
type Dependencies struct {
Logger zerolog.Logger
CircuitBreaker circuitbreaker.CircuitBreaker
Storer providers.ImageStorer
}
Dependencies of the processor provider.
type Processor ¶
type Processor struct {
Dependencies
Config
IdentifyClient facerecog.IdentifyClient
HealthCheckClient facerecog.HealthCheckClient
}
Processor defines a processor which uses a real database to store and process data.
Click to show internal directories.
Click to hide internal directories.