Documentation
¶
Index ¶
- func ErrorCeiling(t time.Duration) func(*Worker) error
- func ExternalPolling() func(*Worker) error
- func LockName(s string) func(*Worker) error
- func PollingInterval(t time.Duration) func(*Worker) error
- func ReadOnlyDatabase(dbRO *sql.DB) func(*Worker) error
- type ErrorWithCause
- type SubscriberEvents
- type Worker
- type WorkerStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExternalPolling ¶
Types ¶
type ErrorWithCause ¶
type SubscriberEvents ¶
func (SubscriberEvents) Len ¶
func (se SubscriberEvents) Len() int
func (SubscriberEvents) Less ¶
func (se SubscriberEvents) Less(i, j int) bool
func (SubscriberEvents) Swap ¶
func (se SubscriberEvents) Swap(i, j int)
type Worker ¶
type Worker struct {
// contains filtered or unexported fields
}
func (*Worker) ReProcessSubscriberEvent ¶
func (*Worker) StartPolling ¶
func (w *Worker) StartPolling()
func (Worker) Status ¶
func (w Worker) Status() WorkerStatus
Click to show internal directories.
Click to hide internal directories.