Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AfterTime ¶ added in v1.63.0
type AfterTime struct {
// contains filtered or unexported fields
}
func ByAfterTime ¶ added in v1.63.0
type MetricStorage ¶
type Middleware ¶
type Middleware func(next SyncHandlerAdapter) SyncHandlerAdapter
func Metrics ¶ added in v1.60.0
func Metrics(storage MetricStorage) Middleware
func RequestId ¶ added in v1.60.0
func RequestId() Middleware
type Mux ¶ added in v1.55.1
type Mux struct {
// contains filtered or unexported fields
}
type RescheduleBy ¶ added in v1.63.0
type RescheduleOption ¶ added in v1.63.0
type RescheduleOption func(opt *rescheduleOptions)
func WithArg ¶ added in v1.63.0
func WithArg(arg []byte) RescheduleOption
type Result ¶
type Result struct {
Complete bool
Err error
MoveToDlq bool
Retry bool
RetryDelay time.Duration
Reschedule bool
RescheduleDelay time.Duration
RescheduleWithArg bool
Arg []byte
NextRunAt time.Time
}
func Reschedule ¶
func Reschedule(by RescheduleBy, opts ...RescheduleOption) Result
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.