update

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 1, 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              string
	Email           string
	Username        string
	Password        string
	UpdatedPassword string
}

func RandomCommand

func RandomCommand() *Command

type CommandHandler

type CommandHandler struct {
	models.UseCase[*Command, *types.Empty]
}

func (*CommandHandler) Handle

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

type Update

type Update struct {
	model.Repository
	model.Hashing
}

func (*Update) Run

func (update *Update) Run(userUpdate *Command) (*types.Empty, error)

Jump to

Keyboard shortcuts

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