forgot

package
v4.14.0 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2025 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: "forgot",
	Status:  messages.Status.Queued,
})

Functions

This section is empty.

Types

type Case

type Case struct {
	role.Repository
}

func (*Case) Run

func (c *Case) Run(reset *user.ID, email *user.Email) (*user.User, error)

type CommandAttributes

type CommandAttributes struct {
	Reset, Email string
}

func CommandRandomAttributes

func CommandRandomAttributes() *CommandAttributes

type CommandMeta

type CommandMeta struct{}

type Handler

type Handler struct {
	cases.Forgot
	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