Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BatchConsumerInterceptor ¶
func BatchConsumerInterceptor(f RecoveryHandlerFunc) subee.BatchConsumerInterceptor
BatchConsumerInterceptor returns a new batch consumer interceptor to recovery from panic.
func ConsumerInterceptor ¶
func ConsumerInterceptor(f RecoveryHandlerFunc) subee.ConsumerInterceptor
ConsumerInterceptor returns a new consumer interceptor to recovery from panic.
Types ¶
type RecoveryHandlerFunc ¶
RecoveryHandlerFunc is a function that recovers from the panic `p`
Click to show internal directories.
Click to hide internal directories.