redis_pbs

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: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CHANNEL = "CHANNEL"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type RedisAdapterDomainEventPublisher

type RedisAdapterDomainEventPublisher struct {
	Channel    string
	Client     *redis.Client
	EventStore event.EventStore
}

func (RedisAdapterDomainEventPublisher) Publish

func (adapter RedisAdapterDomainEventPublisher) Publish(event event.Event) error

func (RedisAdapterDomainEventPublisher) PublishAndStore

func (adapter RedisAdapterDomainEventPublisher) PublishAndStore(event event.Event) error

type RedisPublisherParams

type RedisPublisherParams struct {
	Channel    string
	Client     *redis.Client
	EventStore event.EventStore
}

Jump to

Keyboard shortcuts

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