store

package
v0.0.0-...-f27050b Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventStore

type EventStore struct {
	// contains filtered or unexported fields
}

func NewEventStore

func NewEventStore(client *redis.Client, queueName string, logger log.Logger) *EventStore

func (*EventStore) Listen

func (rs *EventStore) Listen(evtType string, listener interface{})

func (*EventStore) Publish

func (rs *EventStore) Publish(evt event.Event) error

func (*EventStore) Register

func (rs *EventStore) Register(typ interface{})

func (*EventStore) SetManager

func (rs *EventStore) SetManager(manager event.Manager)

func (*EventStore) Start

func (rs *EventStore) Start(ctx context.Context) <-chan interface{}

Jump to

Keyboard shortcuts

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