Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetricStorage ¶
type Middleware ¶
type Middleware func(next SyncHandlerAdapter) SyncHandlerAdapter
func WithDurationMeasure ¶
func WithDurationMeasure(storage MetricStorage) Middleware
type Result ¶
type Result struct {
Complete bool
Err error
MoveToDlq bool
Retry bool
RetryDelay time.Duration
Reschedule bool
RescheduleDelay time.Duration
OverrideArg bool
Arg []byte
}
func Reschedule ¶
type Sync ¶
type Sync struct {
// contains filtered or unexported fields
}
func NewSync ¶
func NewSync(adapter SyncHandlerAdapter, middlewares ...Middleware) Sync
type SyncHandlerAdapter ¶
Click to show internal directories.
Click to hide internal directories.