package
0.22.0
Repository: https://github.com/thebeatapp/patron.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

ConsumerRetry set's the parameters for the retry policy of the consumer.
DetermineDecoder determines the decoder based on the content type.
FailureStrategy option for setting the strategy of handling failures in the async component.
New returns a new async component.

# Constants

AckStrategy acknowledges message and continues.
NackExitStrategy does not acknowledge the message and exits the application on error.
NackStrategy does not acknowledge the message, leaving it for reprocessing, and continues.

# Structs

Component implementation of a async component.

# Interfaces

Consumer interface which every specific consumer has to implement.
ConsumerFactory interface for creating consumers.
Message interface for defining messages that are handled by the async component.

# Type aliases

FailStrategy type definition.
OptionFunc definition for configuring the component in a functional way.
ProcessorFunc definition of a async processor.