update

package
v4.7.0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	Id, Email, Username, Password, UpdatedPassword string
}

func RandomCommand

func RandomCommand() *Command

type Handler

type Handler struct {
	usecase.Update
}

func (*Handler) Handle

func (handler *Handler) Handle(command *Command) error

type Update

type Update struct {
	repository.Repository
	hashing.Hashing
}

func (*Update) Run

func (use *Update) Run(account *user.User, updated *user.Password) error

Jump to

Keyboard shortcuts

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