update

package
v4.9.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2024 License: MIT Imports: 7 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: "updating",
	Status:  messages.Status.Queued,
})

Functions

This section is empty.

Types

type Case added in v4.8.0

type Case struct {
	repository.Repository
	hashes.Hasher
}

func (*Case) Run added in v4.8.0

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

type CommandAttributes added in v4.8.0

type CommandAttributes struct {
	ID, Email, Username, Password, UpdatedPassword 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.Update
}

func (*Handler) Handle

func (h *Handler) Handle(command *commands.Command) error

Jump to

Keyboard shortcuts

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