Documentation ¶
Index ¶
- func Consume(c kq.KqConf, consumerName string, handler kq.ConsumeHandler)
- func DelaySetUp(redis *redis.Redis, batchSize int, prefix string)
- func NewProducer(topic string, opts ...kq.PushOption) (*kq.Pusher, error)
- func Push(ctx context.Context, topic string, data any, sync ...bool) error
- func PushDelay(ctx context.Context, topic string, data any, delayDuration time.Duration) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProducer ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.