command

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2019 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 DepositMoney added in v0.8.0

type DepositMoney struct {
	AggID uuid.UUID

	Amount money.Money
}

func (DepositMoney) AggregateID added in v0.8.0

func (c DepositMoney) AggregateID() uuid.UUID

func (DepositMoney) AggregateType added in v0.8.0

func (c DepositMoney) AggregateType() string

type OpenAccount

type OpenAccount struct {
	AggID uuid.UUID

	Balance money.Money
	Number  string
}

func (OpenAccount) AggregateID added in v0.8.0

func (c OpenAccount) AggregateID() uuid.UUID

func (OpenAccount) AggregateType added in v0.8.0

func (c OpenAccount) AggregateType() string

type ReceiveMoney

type ReceiveMoney struct {
	AggID uuid.UUID

	From   string
	To     string
	Amount money.Money
}

func (ReceiveMoney) AggregateID added in v0.8.0

func (c ReceiveMoney) AggregateID() uuid.UUID

func (ReceiveMoney) AggregateType added in v0.8.0

func (c ReceiveMoney) AggregateType() string

type TransferMoney

type TransferMoney struct {
	AggID uuid.UUID

	From   string
	To     string
	Amount money.Money
}

func (TransferMoney) AggregateID added in v0.8.0

func (c TransferMoney) AggregateID() uuid.UUID

func (TransferMoney) AggregateType added in v0.8.0

func (c TransferMoney) AggregateType() string

type Unknown

type Unknown struct{}

func (Unknown) AggregateType added in v0.8.0

func (c Unknown) AggregateType() string

func (Unknown) CommandID

func (r Unknown) CommandID() string

Jump to

Keyboard shortcuts

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