Examples Package
Example handlers and utility functions
examples
| |
Index
- func ManualAckHandler(ctx context.Context, message types.Message)
- func ProcessOrderHandler(ctx context.Context, message types.Message)
- func SimpleLogHandler(ctx context.Context, message types.Message)
- type OrderMessage
func ManualAckHandler
| |
Example of a handler that uses manual acknowledgment (original pattern)
func ProcessOrderHandler
| |
ProcessOrderHandler demonstrates robust message processing with proper acknowledgment handling
func SimpleLogHandler
| |
Example of a simpler handler that uses the basic acknowledgment without retries
type OrderMessage
OrderMessage represents a sample message structure
| |
Generated by gomarkdoc