Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Consumer ¶
type Consumer interface { Consumer(ctx context.Context, callback Callback, topics ...string) Close() }
func NewConsumerWithRedis ¶
func NewConsumerWithRedis(client *redis.Client) Consumer
type ConsumerWithRedis ¶
type ConsumerWithRedis struct {
// contains filtered or unexported fields
}
func (*ConsumerWithRedis) Close ¶
func (s *ConsumerWithRedis) Close()
type PublishWithRedis ¶
type PublishWithRedis struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.