redis_cs

package
v0.0.0-...-6b4dec4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 22, 2019 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisAdaptersEventConsumer

type RedisAdaptersEventConsumer struct {
	Client           *redis.Client
	HandlerConsumers map[string]consumer.EventConsumerHandler
	Streams          []string
	Group            string
	Consumer         string
}

func NewRedisAdapterEventConsumer

func NewRedisAdapterEventConsumer(params RedisConsumerParams) (RedisAdaptersEventConsumer, error)

func (*RedisAdaptersEventConsumer) Run

func (adapter *RedisAdaptersEventConsumer) Run(ctx context.Context)

type RedisConsumerParams

type RedisConsumerParams struct {
	Client           *redis.Client
	Group            string
	Consumer         string
	HandlerConsumers map[string]consumer.EventConsumerHandler
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL