consumer

package
v0.0.0-...-a5a9975 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2019 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventConsumer

type EventConsumer interface {
	Run(ctx context.Context) error
}

type EventConsumerHandler

type EventConsumerHandler interface {
	Apply(event eventstorming.Event) error
}

type RedisEventConsumer

type RedisEventConsumer struct {
	RedisURL         string
	DBIndex          string
	Password         string
	Group            string
	Consumer         string
	NewMessage       bool
	Foreground       bool
	HandlerConsumers map[string]EventConsumerHandler
	LogFunction      func(functionName string, message string)
}

func (RedisEventConsumer) Run

func (adapter RedisEventConsumer) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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