Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Consumer ¶
type Consumer struct { Handler func(ctx context.Context, payload []byte) error Concurrency int MaxRetry int Timeout time.Duration }
Consumer ...
type WorkQueueProducer ¶
type WorkQueueProducer interface { // Produce ... Produce(ctx context.Context, topic enums.Daemon, payload any, option ProducerOption) error }
WorkQueueProducer ...
Click to show internal directories.
Click to hide internal directories.