handler

package
v1.32.3 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 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) (context.Context, error)
}

Handler for NSQ.

Jump to

Keyboard shortcuts

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