worker

package
v0.66.7 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WorkerCommand

func WorkerCommand() *cobra.Command

Types

type Worker

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

func NewWorker

func NewWorker(
	logger *zap.Logger,
	ctx context.Context,
) (*Worker, error)

func (*Worker) ProcessMessage

func (w *Worker) ProcessMessage(ctx context.Context, msg jetstream.Msg) (err error)

func (*Worker) Run

func (w *Worker) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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