events

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 30, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReplaceGlobals

func ReplaceGlobals(pb pubsub.PubSub)

Types

type DomainEvent

type DomainEvent interface {
	EventName() string
	Topic() string
}

type EventStore

type EventStore interface {
	AddEvent(e ...DomainEvent)
	Notify() error
	Events() []DomainEvent // debug only
}

func NewEventStore

func NewEventStore() EventStore

Jump to

Keyboard shortcuts

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