| 72 | } |
| 73 | |
| 74 | type dispatchInterceptor struct { |
| 75 | handler notifications.Handler |
| 76 | |
| 77 | sent atomic.Int32 |
| 78 | retryable atomic.Int32 |
| 79 | unretryable atomic.Int32 |
| 80 | err atomic.Int32 |
| 81 | lastErr atomic.Value |
| 82 | } |
| 83 | |
| 84 | func newDispatchInterceptor(h notifications.Handler) *dispatchInterceptor { |
| 85 | return &dispatchInterceptor{handler: h} |
nothing calls this directly
no outgoing calls
no test coverage detected