delivery

package
v0.1.0-alpha.6 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2025 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeliveryService

type DeliveryService struct {
	Logger      *logging.Logger
	RedisClient *redis.Client
	DeliveryMQ  *deliverymq.DeliveryMQ
	Handler     consumer.MessageHandler
	// contains filtered or unexported fields
}

func NewService

func NewService(ctx context.Context,
	wg *sync.WaitGroup,
	cfg *config.Config,
	logger *logging.Logger,
	handler consumer.MessageHandler,
) (*DeliveryService, error)

func (*DeliveryService) Run

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

func (*DeliveryService) Shutdown

func (s *DeliveryService) Shutdown(ctx context.Context)

Jump to

Keyboard shortcuts

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