Documentation ¶
Index ¶
- type ConsumerMany
- type ConsumerManyByModulo
- type ConsumerOne
- type ConsumerOneByModulo
- type ConsumerRunner
- func (r *ConsumerRunner) RunConsumerMany(consumer ConsumerMany, groupNameSuffix *string, prefetchCount int)
- func (r *ConsumerRunner) RunConsumerManyByModulo(consumer ConsumerManyByModulo, groupNameSuffix *string, prefetchCount int)
- func (r *ConsumerRunner) RunConsumerOne(consumer ConsumerOne, groupNameSuffix *string, prefetchCount int)
- func (r *ConsumerRunner) RunConsumerOneByModulo(consumer ConsumerOneByModulo, groupNameSuffix *string, prefetchCount int)
- type ScalableConsumerRunner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConsumerMany ¶
type ConsumerManyByModulo ¶
type ConsumerOne ¶
type ConsumerOneByModulo ¶
type ConsumerRunner ¶
type ConsumerRunner struct {
// contains filtered or unexported fields
}
func NewConsumerRunner ¶
func NewConsumerRunner(ctx context.Context) *ConsumerRunner
func (*ConsumerRunner) RunConsumerMany ¶
func (r *ConsumerRunner) RunConsumerMany(consumer ConsumerMany, groupNameSuffix *string, prefetchCount int)
func (*ConsumerRunner) RunConsumerManyByModulo ¶
func (r *ConsumerRunner) RunConsumerManyByModulo(consumer ConsumerManyByModulo, groupNameSuffix *string, prefetchCount int)
func (*ConsumerRunner) RunConsumerOne ¶
func (r *ConsumerRunner) RunConsumerOne(consumer ConsumerOne, groupNameSuffix *string, prefetchCount int)
func (*ConsumerRunner) RunConsumerOneByModulo ¶
func (r *ConsumerRunner) RunConsumerOneByModulo(consumer ConsumerOneByModulo, groupNameSuffix *string, prefetchCount int)
type ScalableConsumerRunner ¶ added in v1.1.18
type ScalableConsumerRunner struct {
// contains filtered or unexported fields
}
func NewScalableConsumerRunner ¶ added in v1.1.18
func NewScalableConsumerRunner(ctx context.Context, redisPool string) *ScalableConsumerRunner
func (*ScalableConsumerRunner) RunScalableConsumerMany ¶ added in v1.1.18
func (r *ScalableConsumerRunner) RunScalableConsumerMany(consumer ConsumerMany, groupNameSuffix *string, prefetchCount int)
func (*ScalableConsumerRunner) RunScalableConsumerOne ¶ added in v1.1.18
func (r *ScalableConsumerRunner) RunScalableConsumerOne(consumer ConsumerOne, groupNameSuffix *string, prefetchCount int)
Click to show internal directories.
Click to hide internal directories.