service

package
v0.0.0-...-c23655e Latest Latest
Warning

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

Go to latest
Published: May 15, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dependencies

type Dependencies struct {
	Consumer  providers.ConsumerProvider
	Processor providers.ProcessorProvider
	Logger    zerolog.Logger
}

Dependencies are providers which this service operates with.

type ImageProcessor

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

ImageProcessor represents the service object of the receiver.

func New

func New(deps Dependencies) *ImageProcessor

New creates a new service with all of its dependencies and configurations.

func (*ImageProcessor) Run

func (s *ImageProcessor) Run(ctx context.Context) error

Run starts the service.

Jump to

Keyboard shortcuts

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