domain

package
v0.0.0-...-82560b4 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MakeNewAccount

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

func (*MakeNewAccount) Handle

func (mna *MakeNewAccount) Handle(ctx context.Context, a *account.Account) bool

Handle handles MakeNewAccount in the domain returns true for success or false for failure. record errors with mna.raise(err). implements application layer's CommandHandler interface.

Jump to

Keyboard shortcuts

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