handler

package
v1.95.1 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 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(h Handler, m marshaller.Marshaller) nsq.Handler

New handler for NSQ.

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