handler

package
v1.22.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2021 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.

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