delete

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
	Password string
}

func RandomCommand

func RandomCommand() *Command

type CommandHandler

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

func (*CommandHandler) Handle

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

type Delete

type Delete struct {
	model.Repository
	model.Hashing
}

func (*Delete) Run

func (delete *Delete) Run(input *Input) (*types.Empty, error)

type Input

type Input struct {
	Id       models.ValueObject[string]
	Password models.ValueObject[string]
}

Jump to

Keyboard shortcuts

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