commands

package
v0.0.0-...-c67c63b Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: CC0-1.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateBankCommand

type CreateBankCommand struct {
	Name    string `json:"name"`
	Website string `json:"website"`
}

CreateBankCommand is a struct that contains the fields required to create a bank

type CreateBankCommandHandler

type CreateBankCommandHandler struct {
	// contains filtered or unexported fields
}

func NewCreateBankCommandHandler

func NewCreateBankCommandHandler(service *iservice.IBankService) *CreateBankCommandHandler

func (*CreateBankCommandHandler) Handle

func (h *CreateBankCommandHandler) Handle(command *CreateBankCommand) error

Jump to

Keyboard shortcuts

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