handler

package
v1.86.25 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: Unlicense Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(params Params) nsq.Handler

New handler for NSQ.

Types

type Handler

type Handler interface {
	Handle(ctx context.Context, message *message.Message) error
}

Handler for NSQ.

type Params added in v1.54.0

type Params struct {
	Handler    Handler
	Marshaller marshaller.Marshaller
}

Params for handler.

Jump to

Keyboard shortcuts

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