Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsumerProvider ¶
type ConsumerProvider interface {
Consume(sendTo chan int)
}
ConsumerProvider interface which defines the minimum needed functionality for a consumer of an image queue.
type ImageStorer ¶
type ImageStorer interface { GetImage(id int) (*models.Image, error) UpdateImage(id int, person int, status models.Status) error GetPersonFromImage(image string) (*models.Person, error) }
ImageStorer handles storing and updating images for the image processor.
type ProcessorProvider ¶
Processor defines a set of functions which a processor needs. Todo: add errorGroups for error handling.
Click to show internal directories.
Click to hide internal directories.