processor

package
v0.0.0-...-d1f23fe Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2019 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAcknowledgmentError

func NewAcknowledgmentError(err error) error

NewAcknowledgmentError creates a new AcknowledgmentError from the given error.

func NewCreateCommandError

func NewCreateCommandError(err error) error

NewCreateCommandError creates a new CreateCommandError from the given error.

Types

type AcknowledgmentError

type AcknowledgmentError struct {
	// contains filtered or unexported fields
}

AcknowledgmentError defines an error indicating that acknowledgment of a message failed.

func (AcknowledgmentError) Error

func (e AcknowledgmentError) Error() string

Error is part of the error builtin.

type CreateCommandError

type CreateCommandError struct {
	// contains filtered or unexported fields
}

CreateCommandError defines an error indicating that the creation of a command failed.

func (CreateCommandError) Error

func (e CreateCommandError) Error() string

Error is part of the error builtin.

type Processor

type Processor interface {
	Process(delivery.Delivery) error
}

Processor describes the interface used by the consumer to process messages.

func New

New creates a new processor instance.

Jump to

Keyboard shortcuts

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