event

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 27, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CreatedSucceededTypeRoutingKey = messages.NewRoutingKey(&messages.RoutingKeyComponents{
	Service: "user",
	Version: "1",
	Type:    messages.Type.Event,
	Entity:  "user",
	Event:   "created",
	Status:  messages.Status.Succeeded,
})

Functions

func NewCreatedSucceeded

func NewCreatedSucceeded(event *CreatedSucceeded) (*messages.Message, error)

func RandomCreatedSucceeded

func RandomCreatedSucceeded() *messages.Message

Types

type CreatedSucceeded

type CreatedSucceeded struct {
	Attributes *CreatedSucceededAttributes
}

type CreatedSucceededAttributes

type CreatedSucceededAttributes struct {
	Id, Email, Username string
}

Jump to

Keyboard shortcuts

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