events

package
v4.14.2 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var UserCreatedSucceededKey = messages.NewKey(&messages.KeyComponents{
	Service: "user",
	Version: "1",
	Type:    messages.Type.Event,
	Entity:  "user",
	Event:   "created",
	Status:  messages.Status.Succeeded,
})
View Source
var UserResetQueuedKey = messages.NewKey(&messages.KeyComponents{
	Service: "user",
	Version: "1",
	Type:    messages.Type.Event,
	Entity:  "user",
	Event:   "reset",
	Status:  messages.Status.Queued,
})

Functions

func AddEventMapper added in v4.11.0

func AddEventMapper(bus roles.EventBus, mapper Mapper) error

Types

type Mapper added in v4.11.0

type Mapper map[messages.Key][]roles.EventConsumer

type UserCreatedSucceededAttributes added in v4.10.0

type UserCreatedSucceededAttributes struct {
	Verify, ID, Email, Username string
}

type UserCreatedSucceededMeta added in v4.10.0

type UserCreatedSucceededMeta struct{}

type UserResetQueuedAttributes added in v4.11.0

type UserResetQueuedAttributes struct {
	Reset, ID, Email, Username string
}

type UserResetQueuedMeta added in v4.11.0

type UserResetQueuedMeta struct{}

Jump to

Keyboard shortcuts

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