Documentation
¶
Overview ¶
Code generated by gog; DO NOT EDIT. Version: 0.5.0
Index ¶
- Variables
- type BalanceService
- func (b BalanceService) AccountCreated(ctx context.Context, m domain.Metadata, ac event.AccountCreated) error
- func (b BalanceService) GetOne(ctx context.Context, id uuid.UUID) (entity.Balance, error)
- func (b BalanceService) ListAll(ctx context.Context) ([]entity.Balance, error)
- func (b BalanceService) MoneyDeposited(ctx context.Context, m domain.Metadata, ac event.MoneyDeposited) error
- func (b BalanceService) MoneyWithdrawn(ctx context.Context, m domain.Metadata, ac event.MoneyWithdrawn) error
- type BalanceServiceAspect
- func (a *BalanceServiceAspect) AccountCreated(ctx context.Context, m domain.Metadata, ac event.AccountCreated) error
- func (a *BalanceServiceAspect) GetOne(ctx context.Context, id uuid.UUID) (entity.Balance, error)
- func (a *BalanceServiceAspect) ListAll(ctx context.Context) ([]entity.Balance, error)
- func (a *BalanceServiceAspect) MoneyDeposited(ctx context.Context, m domain.Metadata, ac event.MoneyDeposited) error
- func (a *BalanceServiceAspect) MoneyWithdrawn(ctx context.Context, m domain.Metadata, ac event.MoneyWithdrawn) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAggregateNotFound = errors.New("aggregate Not Found")
Functions ¶
This section is empty.
Types ¶
type BalanceService ¶
type BalanceService struct { projection.WriteResumeStore // contains filtered or unexported fields }
gog:aspect
func NewBalanceService ¶
func NewBalanceService( wrs projection.WriteResumeStore, balanceRepository domain.BalanceRepository, ) BalanceService
func (BalanceService) AccountCreated ¶
func (b BalanceService) AccountCreated(ctx context.Context, m domain.Metadata, ac event.AccountCreated) error
gog:@monitor
func (BalanceService) MoneyDeposited ¶
func (b BalanceService) MoneyDeposited(ctx context.Context, m domain.Metadata, ac event.MoneyDeposited) error
gog:@monitor
func (BalanceService) MoneyWithdrawn ¶
func (b BalanceService) MoneyWithdrawn(ctx context.Context, m domain.Metadata, ac event.MoneyWithdrawn) error
gog:@monitor
type BalanceServiceAspect ¶
type BalanceServiceAspect struct {
Next BalanceService
}
func (*BalanceServiceAspect) AccountCreated ¶
func (a *BalanceServiceAspect) AccountCreated(ctx context.Context, m domain.Metadata, ac event.AccountCreated) error
func (*BalanceServiceAspect) MoneyDeposited ¶
func (a *BalanceServiceAspect) MoneyDeposited(ctx context.Context, m domain.Metadata, ac event.MoneyDeposited) error
func (*BalanceServiceAspect) MoneyWithdrawn ¶
func (a *BalanceServiceAspect) MoneyWithdrawn(ctx context.Context, m domain.Metadata, ac event.MoneyWithdrawn) error
Click to show internal directories.
Click to hide internal directories.