Documentation
¶
Overview ¶
Package handling provides utilities for handlers and background workers
Index ¶
- func Consume[T any](ctx context.Context, ch <-chan T, f Consumer[T]) error
- func Except(err error, exceptions ...error) error
- func Repeat(ctx context.Context, interval time.Duration, f Worker) error
- func RepeatImmediate(ctx context.Context, interval time.Duration, f Worker) error
- type Consumer
- type Worker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.