handler

package
v1.53.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2022 License: Unlicense Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(h Handler) nsq.Handler

New handler for NSQ. nolint:ireturn

Types

type Handler

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

Handler for NSQ.

Jump to

Keyboard shortcuts

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