watermillqueue

package
v0.0.0-...-d877d14 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2024 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(redisClient *redis.Client,
	cfg config.Config,
	logger *zap.Logger,
	emailClient email.Client,
	userRepo malak.UserRepository,
	workspaceRepo malak.WorkspaceRepository,
	updateRepo malak.UpdateRepository,
	contactRepo malak.ContactRepository) (queue.QueueHandler, error)

Types

type WatermillClient

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

func (*WatermillClient) Add

func (t *WatermillClient) Add(ctx context.Context,
	topic string, msg *queue.Message) error

func (*WatermillClient) Close

func (t *WatermillClient) Close() error

func (*WatermillClient) Start

func (t *WatermillClient) Start(context.Context)

Jump to

Keyboard shortcuts

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