create

package
v4.11.0 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CommandKey = messages.NewKey(&messages.KeyComponents{
	Service: "user",
	Version: "1",
	Type:    messages.Type.Command,
	Entity:  "user",
	Command: "create",
	Status:  messages.Status.Queued,
})

Functions

This section is empty.

Types

type Case added in v4.8.0

type Case struct {
	roles.Hasher
	role.Repository
}

func (*Case) Run added in v4.8.0

func (c *Case) Run(aggregate *user.User) error

type CommandAttributes added in v4.8.0

type CommandAttributes struct {
	Verify, ID, Email, Username, Password string
}

func CommandRandomAttributes added in v4.8.0

func CommandRandomAttributes() *CommandAttributes

type CommandMeta added in v4.8.0

type CommandMeta struct{}

type Handler

type Handler struct {
	cases.Create
	roles.EventBus
}

func (*Handler) Handle

func (h *Handler) Handle(command *messages.Message) error

Jump to

Keyboard shortcuts

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