Documentation
¶
Overview ¶
Package eventbus provides a reusable event bus abstraction with pluggable runtime support.
Index ¶
Constants ¶
View Source
const ( DefaultMaxRetries = core.DefaultMaxRetries DefaultPollBatchSize = core.DefaultPollBatchSize DefaultPollBlock = core.DefaultPollBlock DefaultRetryBaseDelay = core.DefaultRetryBaseDelay )
Variables ¶
View Source
var ( ErrInvalidConsumerConfig = core.ErrInvalidConsumerConfig ErrDuplicateSubscription = core.ErrDuplicateSubscription )
Functions ¶
This section is empty.
Types ¶
type ConsumerConfig ¶
type ConsumerConfig = core.ConsumerConfig
type DeadLetterMessage ¶
type DeadLetterMessage = core.DeadLetterMessage
type PublishOption ¶
type PublishOption = core.PublishOption
func WithHeaders ¶
func WithHeaders(headers map[string]string) PublishOption
func WithMessageID ¶
func WithMessageID(id string) PublishOption
type PublishOptions ¶
type PublishOptions = core.PublishOptions
type RedisRuntime ¶
type RedisRuntime = redisruntime.RedisRuntime
func NewRedisRuntime ¶
func NewRedisRuntime(client *redis.Client, cfg RedisRuntimeConfig) *RedisRuntime
type RedisRuntimeConfig ¶
type RedisRuntimeConfig = redisruntime.Config
Click to show internal directories.
Click to hide internal directories.