message

package
v0.0.1-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CreatedSucceededEventTypeRoutingKey = messages.NewRoutingKey(&messages.MessageRoutingKey{
	Module:    "user",
	Version:   "1",
	Type:      messages.Type.Event,
	Aggregate: "user",
	Event:     "created",
	Status:    messages.Status.Succeeded,
})

Functions

func NewCreatedSucceededEvent

func NewCreatedSucceededEvent(attributes *CreatedSucceededEventAttributes) (*messages.Message, error)

Types

type CreatedSucceededEventAttributes

type CreatedSucceededEventAttributes struct {
	Id       string
	Email    string
	Username string
}

Jump to

Keyboard shortcuts

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