conventions

This commit is contained in:
Binaek Sarkar
2022-02-10 15:26:34 +05:30
committed by Ken Hibino
parent 55d0610a03
commit ebd7a32c0f
4 changed files with 14 additions and 21 deletions

View File

@@ -27,7 +27,7 @@ type processor struct {
broker base.Broker
handler Handler
baseCtxFn BaseCtxFn
baseCtxFn func() context.Context
queueConfig map[string]int
@@ -72,7 +72,7 @@ type processor struct {
type processorParams struct {
logger *log.Logger
broker base.Broker
baseCtxFn BaseCtxFn
baseCtxFn func() context.Context
retryDelayFunc RetryDelayFunc
isFailureFunc func(error) bool
syncCh chan<- *syncRequest