Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct {
// contains filtered or unexported fields
}
Event
func CreateEvent ¶
func (*Event) UnmarshalPayload ¶
type EventCollector ¶
type EventCollector struct {
// contains filtered or unexported fields
}
func CreateEventCollector ¶
func CreateEventCollector() *EventCollector
func NewEventCollector ¶
func NewEventCollector(events []*Event) *EventCollector
func (*EventCollector) All ¶
func (c *EventCollector) All() []*Event
func (*EventCollector) Drain ¶
func (c *EventCollector) Drain() []*Event
func (*EventCollector) Record ¶
func (c *EventCollector) Record(p Publishable) error
type LocalEventBus ¶
type LocalEventBus struct {
// contains filtered or unexported fields
}
func NewLocalEventBus ¶
func NewLocalEventBus() *LocalEventBus
type NatsEventBus ¶
type NatsEventBus struct {
// contains filtered or unexported fields
}
func NewNatsEventBus ¶
func NewNatsEventBus( consumerGroup string, conn *nats.Conn, ) *NatsEventBus
type Publishable ¶
Click to show internal directories.
Click to hide internal directories.