Documentation ¶
Index ¶
- Constants
- func ExpenseCommandTypes() *expenseCommandTypes
- func ExpenseEventTypes() *expenseEventTypes
- func ExpensePurposeCommandTypes() *expensePurposeCommandTypes
- func ExpensePurposeEventTypes() *expensePurposeEventTypes
- func FeeCommandTypes() *feeCommandTypes
- func FeeEventTypes() *feeEventTypes
- func FeeKindCommandTypes() *feeKindCommandTypes
- func FeeKindEventTypes() *feeKindEventTypes
- type CreateExpense
- type CreateExpensePurpose
- type CreateFee
- type CreateFeeKind
- type DeleteExpense
- type DeleteExpensePurpose
- type DeleteFee
- type DeleteFeeKind
- type Expense
- type ExpenseAggregateInitializer
- type ExpenseCli
- type ExpenseClient
- type ExpenseCommandHandler
- func (o *ExpenseCommandHandler) AddCreatePreparer(preparer func(*CreateExpense, *Expense) (err error))
- func (o *ExpenseCommandHandler) AddDeletePreparer(preparer func(*DeleteExpense, *Expense) (err error))
- func (o *ExpenseCommandHandler) AddUpdatePreparer(preparer func(*UpdateExpense, *Expense) (err error))
- func (o *ExpenseCommandHandler) Execute(cmd eventhorizon.Command, entity eventhorizon.Entity, ...) (err error)
- func (o *ExpenseCommandHandler) SetupCommandHandler() (err error)
- type ExpenseCommandType
- func (o ExpenseCommandType) GetBSON() (ret interface{}, err error)
- func (o *ExpenseCommandType) IsCreateExpense() bool
- func (o *ExpenseCommandType) IsDeleteExpense() bool
- func (o *ExpenseCommandType) IsUpdateExpense() bool
- func (o ExpenseCommandType) MarshalJSON() (ret []byte, err error)
- func (o *ExpenseCommandType) Name() string
- func (o *ExpenseCommandType) Ordinal() int
- func (o *ExpenseCommandType) SetBSON(raw bson.Raw) (err error)
- func (o *ExpenseCommandType) UnmarshalJSON(data []byte) (err error)
- type ExpenseCreated
- type ExpenseDeleted
- type ExpenseEventHandler
- type ExpenseEventType
- func (o ExpenseEventType) GetBSON() (ret interface{}, err error)
- func (o *ExpenseEventType) IsExpenseCreated() bool
- func (o *ExpenseEventType) IsExpenseDeleted() bool
- func (o *ExpenseEventType) IsExpenseUpdated() bool
- func (o ExpenseEventType) MarshalJSON() (ret []byte, err error)
- func (o *ExpenseEventType) Name() string
- func (o *ExpenseEventType) Ordinal() int
- func (o *ExpenseEventType) SetBSON(raw bson.Raw) (err error)
- func (o *ExpenseEventType) UnmarshalJSON(data []byte) (err error)
- type ExpenseExecutors
- type ExpenseHandlers
- type ExpenseHttpCommandHandler
- type ExpenseHttpQueryHandler
- func (o *ExpenseHttpQueryHandler) CountAll(w http.ResponseWriter, r *http.Request)
- func (o *ExpenseHttpQueryHandler) CountById(w http.ResponseWriter, r *http.Request)
- func (o *ExpenseHttpQueryHandler) ExistAll(w http.ResponseWriter, r *http.Request)
- func (o *ExpenseHttpQueryHandler) ExistById(w http.ResponseWriter, r *http.Request)
- func (o *ExpenseHttpQueryHandler) FindAll(w http.ResponseWriter, r *http.Request)
- func (o *ExpenseHttpQueryHandler) FindById(w http.ResponseWriter, r *http.Request)
- type ExpenseInitialExecutor
- type ExpenseInitialHandler
- type ExpensePurpose
- type ExpensePurposeAggregateInitializer
- type ExpensePurposeCli
- type ExpensePurposeClient
- type ExpensePurposeCommandHandler
- func (o *ExpensePurposeCommandHandler) AddCreatePreparer(preparer func(*CreateExpensePurpose, *ExpensePurpose) (err error))
- func (o *ExpensePurposeCommandHandler) AddDeletePreparer(preparer func(*DeleteExpensePurpose, *ExpensePurpose) (err error))
- func (o *ExpensePurposeCommandHandler) AddUpdatePreparer(preparer func(*UpdateExpensePurpose, *ExpensePurpose) (err error))
- func (o *ExpensePurposeCommandHandler) Execute(cmd eventhorizon.Command, entity eventhorizon.Entity, ...) (err error)
- func (o *ExpensePurposeCommandHandler) SetupCommandHandler() (err error)
- type ExpensePurposeCommandType
- func (o ExpensePurposeCommandType) GetBSON() (ret interface{}, err error)
- func (o *ExpensePurposeCommandType) IsCreateExpensePurpose() bool
- func (o *ExpensePurposeCommandType) IsDeleteExpensePurpose() bool
- func (o *ExpensePurposeCommandType) IsUpdateExpensePurpose() bool
- func (o ExpensePurposeCommandType) MarshalJSON() (ret []byte, err error)
- func (o *ExpensePurposeCommandType) Name() string
- func (o *ExpensePurposeCommandType) Ordinal() int
- func (o *ExpensePurposeCommandType) SetBSON(raw bson.Raw) (err error)
- func (o *ExpensePurposeCommandType) UnmarshalJSON(data []byte) (err error)
- type ExpensePurposeCreated
- type ExpensePurposeDeleted
- type ExpensePurposeEventHandler
- type ExpensePurposeEventType
- func (o ExpensePurposeEventType) GetBSON() (ret interface{}, err error)
- func (o *ExpensePurposeEventType) IsExpensePurposeCreated() bool
- func (o *ExpensePurposeEventType) IsExpensePurposeDeleted() bool
- func (o *ExpensePurposeEventType) IsExpensePurposeUpdated() bool
- func (o ExpensePurposeEventType) MarshalJSON() (ret []byte, err error)
- func (o *ExpensePurposeEventType) Name() string
- func (o *ExpensePurposeEventType) Ordinal() int
- func (o *ExpensePurposeEventType) SetBSON(raw bson.Raw) (err error)
- func (o *ExpensePurposeEventType) UnmarshalJSON(data []byte) (err error)
- type ExpensePurposeExecutors
- type ExpensePurposeHandlers
- type ExpensePurposeHttpCommandHandler
- type ExpensePurposeHttpQueryHandler
- func (o *ExpensePurposeHttpQueryHandler) CountAll(w http.ResponseWriter, r *http.Request)
- func (o *ExpensePurposeHttpQueryHandler) CountById(w http.ResponseWriter, r *http.Request)
- func (o *ExpensePurposeHttpQueryHandler) ExistAll(w http.ResponseWriter, r *http.Request)
- func (o *ExpensePurposeHttpQueryHandler) ExistById(w http.ResponseWriter, r *http.Request)
- func (o *ExpensePurposeHttpQueryHandler) FindAll(w http.ResponseWriter, r *http.Request)
- func (o *ExpensePurposeHttpQueryHandler) FindById(w http.ResponseWriter, r *http.Request)
- type ExpensePurposeInitialExecutor
- type ExpensePurposeInitialHandler
- type ExpensePurposeQueryRepository
- func (o *ExpensePurposeQueryRepository) CountAll() (ret int, err error)
- func (o *ExpensePurposeQueryRepository) CountById(id uuid.UUID) (ret int, err error)
- func (o *ExpensePurposeQueryRepository) ExistAll() (ret bool, err error)
- func (o *ExpensePurposeQueryRepository) ExistById(id uuid.UUID) (ret bool, err error)
- func (o *ExpensePurposeQueryRepository) FindAll() (ret []*ExpensePurpose, err error)
- func (o *ExpensePurposeQueryRepository) FindById(id uuid.UUID) (ret *ExpensePurpose, err error)
- type ExpensePurposeRouter
- type ExpensePurposeUpdated
- type ExpenseQueryRepository
- func (o *ExpenseQueryRepository) CountAll() (ret int, err error)
- func (o *ExpenseQueryRepository) CountById(id uuid.UUID) (ret int, err error)
- func (o *ExpenseQueryRepository) ExistAll() (ret bool, err error)
- func (o *ExpenseQueryRepository) ExistById(id uuid.UUID) (ret bool, err error)
- func (o *ExpenseQueryRepository) FindAll() (ret []*Expense, err error)
- func (o *ExpenseQueryRepository) FindById(id uuid.UUID) (ret *Expense, err error)
- type ExpenseRouter
- type ExpenseUpdated
- type Fee
- type FeeAggregateInitializer
- type FeeCli
- type FeeClient
- type FeeCommandHandler
- func (o *FeeCommandHandler) AddCreatePreparer(preparer func(*CreateFee, *Fee) (err error))
- func (o *FeeCommandHandler) AddDeletePreparer(preparer func(*DeleteFee, *Fee) (err error))
- func (o *FeeCommandHandler) AddUpdatePreparer(preparer func(*UpdateFee, *Fee) (err error))
- func (o *FeeCommandHandler) Execute(cmd eventhorizon.Command, entity eventhorizon.Entity, ...) (err error)
- func (o *FeeCommandHandler) SetupCommandHandler() (err error)
- type FeeCommandType
- func (o FeeCommandType) GetBSON() (ret interface{}, err error)
- func (o *FeeCommandType) IsCreateFee() bool
- func (o *FeeCommandType) IsDeleteFee() bool
- func (o *FeeCommandType) IsUpdateFee() bool
- func (o FeeCommandType) MarshalJSON() (ret []byte, err error)
- func (o *FeeCommandType) Name() string
- func (o *FeeCommandType) Ordinal() int
- func (o *FeeCommandType) SetBSON(raw bson.Raw) (err error)
- func (o *FeeCommandType) UnmarshalJSON(data []byte) (err error)
- type FeeCreated
- type FeeDeleted
- type FeeEventHandler
- type FeeEventType
- func (o FeeEventType) GetBSON() (ret interface{}, err error)
- func (o *FeeEventType) IsFeeCreated() bool
- func (o *FeeEventType) IsFeeDeleted() bool
- func (o *FeeEventType) IsFeeUpdated() bool
- func (o FeeEventType) MarshalJSON() (ret []byte, err error)
- func (o *FeeEventType) Name() string
- func (o *FeeEventType) Ordinal() int
- func (o *FeeEventType) SetBSON(raw bson.Raw) (err error)
- func (o *FeeEventType) UnmarshalJSON(data []byte) (err error)
- type FeeExecutors
- type FeeHandlers
- type FeeHttpCommandHandler
- type FeeHttpQueryHandler
- func (o *FeeHttpQueryHandler) CountAll(w http.ResponseWriter, r *http.Request)
- func (o *FeeHttpQueryHandler) CountById(w http.ResponseWriter, r *http.Request)
- func (o *FeeHttpQueryHandler) ExistAll(w http.ResponseWriter, r *http.Request)
- func (o *FeeHttpQueryHandler) ExistById(w http.ResponseWriter, r *http.Request)
- func (o *FeeHttpQueryHandler) FindAll(w http.ResponseWriter, r *http.Request)
- func (o *FeeHttpQueryHandler) FindById(w http.ResponseWriter, r *http.Request)
- type FeeInitialExecutor
- type FeeInitialHandler
- type FeeKind
- type FeeKindAggregateInitializer
- type FeeKindCli
- type FeeKindClient
- type FeeKindCommandHandler
- func (o *FeeKindCommandHandler) AddCreatePreparer(preparer func(*CreateFeeKind, *FeeKind) (err error))
- func (o *FeeKindCommandHandler) AddDeletePreparer(preparer func(*DeleteFeeKind, *FeeKind) (err error))
- func (o *FeeKindCommandHandler) AddUpdatePreparer(preparer func(*UpdateFeeKind, *FeeKind) (err error))
- func (o *FeeKindCommandHandler) Execute(cmd eventhorizon.Command, entity eventhorizon.Entity, ...) (err error)
- func (o *FeeKindCommandHandler) SetupCommandHandler() (err error)
- type FeeKindCommandType
- func (o FeeKindCommandType) GetBSON() (ret interface{}, err error)
- func (o *FeeKindCommandType) IsCreateFeeKind() bool
- func (o *FeeKindCommandType) IsDeleteFeeKind() bool
- func (o *FeeKindCommandType) IsUpdateFeeKind() bool
- func (o FeeKindCommandType) MarshalJSON() (ret []byte, err error)
- func (o *FeeKindCommandType) Name() string
- func (o *FeeKindCommandType) Ordinal() int
- func (o *FeeKindCommandType) SetBSON(raw bson.Raw) (err error)
- func (o *FeeKindCommandType) UnmarshalJSON(data []byte) (err error)
- type FeeKindCreated
- type FeeKindDeleted
- type FeeKindEventHandler
- type FeeKindEventType
- func (o FeeKindEventType) GetBSON() (ret interface{}, err error)
- func (o *FeeKindEventType) IsFeeKindCreated() bool
- func (o *FeeKindEventType) IsFeeKindDeleted() bool
- func (o *FeeKindEventType) IsFeeKindUpdated() bool
- func (o FeeKindEventType) MarshalJSON() (ret []byte, err error)
- func (o *FeeKindEventType) Name() string
- func (o *FeeKindEventType) Ordinal() int
- func (o *FeeKindEventType) SetBSON(raw bson.Raw) (err error)
- func (o *FeeKindEventType) UnmarshalJSON(data []byte) (err error)
- type FeeKindExecutors
- type FeeKindHandlers
- type FeeKindHttpCommandHandler
- type FeeKindHttpQueryHandler
- func (o *FeeKindHttpQueryHandler) CountAll(w http.ResponseWriter, r *http.Request)
- func (o *FeeKindHttpQueryHandler) CountById(w http.ResponseWriter, r *http.Request)
- func (o *FeeKindHttpQueryHandler) ExistAll(w http.ResponseWriter, r *http.Request)
- func (o *FeeKindHttpQueryHandler) ExistById(w http.ResponseWriter, r *http.Request)
- func (o *FeeKindHttpQueryHandler) FindAll(w http.ResponseWriter, r *http.Request)
- func (o *FeeKindHttpQueryHandler) FindById(w http.ResponseWriter, r *http.Request)
- type FeeKindInitialExecutor
- type FeeKindInitialHandler
- type FeeKindQueryRepository
- func (o *FeeKindQueryRepository) CountAll() (ret int, err error)
- func (o *FeeKindQueryRepository) CountById(id uuid.UUID) (ret int, err error)
- func (o *FeeKindQueryRepository) ExistAll() (ret bool, err error)
- func (o *FeeKindQueryRepository) ExistById(id uuid.UUID) (ret bool, err error)
- func (o *FeeKindQueryRepository) FindAll() (ret []*FeeKind, err error)
- func (o *FeeKindQueryRepository) FindById(id uuid.UUID) (ret *FeeKind, err error)
- type FeeKindRouter
- type FeeKindUpdated
- type FeeQueryRepository
- func (o *FeeQueryRepository) CountAll() (ret int, err error)
- func (o *FeeQueryRepository) CountById(id uuid.UUID) (ret int, err error)
- func (o *FeeQueryRepository) ExistAll() (ret bool, err error)
- func (o *FeeQueryRepository) ExistById(id uuid.UUID) (ret bool, err error)
- func (o *FeeQueryRepository) FindAll() (ret []*Fee, err error)
- func (o *FeeQueryRepository) FindById(id uuid.UUID) (ret *Fee, err error)
- type FeeRouter
- type FeeUpdated
- type FinanceCli
- type FinanceClient
- type FinanceEventhorizonInitializer
- type FinanceRouter
- type UpdateExpense
- type UpdateExpensePurpose
- type UpdateFee
- type UpdateFeeKind
Constants ¶
View Source
const ( CreateExpenseCommand eventhorizon.CommandType = "CreateExpense" DeleteExpenseCommand eventhorizon.CommandType = "DeleteExpense" UpdateExpenseCommand eventhorizon.CommandType = "UpdateExpense" )
View Source
const ( CreateExpensePurposeCommand eventhorizon.CommandType = "CreateExpensePurpose" DeleteExpensePurposeCommand eventhorizon.CommandType = "DeleteExpensePurpose" UpdateExpensePurposeCommand eventhorizon.CommandType = "UpdateExpensePurpose" )
View Source
const ( CreateFeeCommand eventhorizon.CommandType = "CreateFee" DeleteFeeCommand eventhorizon.CommandType = "DeleteFee" UpdateFeeCommand eventhorizon.CommandType = "UpdateFee" )
View Source
const ( CreateFeeKindCommand eventhorizon.CommandType = "CreateFeeKind" DeleteFeeKindCommand eventhorizon.CommandType = "DeleteFeeKind" UpdateFeeKindCommand eventhorizon.CommandType = "UpdateFeeKind" )
View Source
const ( ExpenseCreatedEvent eventhorizon.EventType = "ExpenseCreated" ExpenseDeletedEvent eventhorizon.EventType = "ExpenseDeleted" ExpenseUpdatedEvent eventhorizon.EventType = "ExpenseUpdated" )
View Source
const ( ExpensePurposeCreatedEvent eventhorizon.EventType = "ExpensePurposeCreated" ExpensePurposeDeletedEvent eventhorizon.EventType = "ExpensePurposeDeleted" ExpensePurposeUpdatedEvent eventhorizon.EventType = "ExpensePurposeUpdated" )
View Source
const ( FeeCreatedEvent eventhorizon.EventType = "FeeCreated" FeeDeletedEvent eventhorizon.EventType = "FeeDeleted" FeeUpdatedEvent eventhorizon.EventType = "FeeUpdated" )
View Source
const ( FeeKindCreatedEvent eventhorizon.EventType = "FeeKindCreated" FeeKindDeletedEvent eventhorizon.EventType = "FeeKindDeleted" FeeKindUpdatedEvent eventhorizon.EventType = "FeeKindUpdated" )
View Source
const ExpenseAggregateType eventhorizon.AggregateType = "Expense"
View Source
const ExpensePurposeAggregateType eventhorizon.AggregateType = "ExpensePurpose"
View Source
const FeeAggregateType eventhorizon.AggregateType = "Fee"
View Source
const FeeKindAggregateType eventhorizon.AggregateType = "FeeKind"
Variables ¶
This section is empty.
Functions ¶
func ExpenseCommandTypes ¶
func ExpenseCommandTypes() *expenseCommandTypes
func ExpenseEventTypes ¶
func ExpenseEventTypes() *expenseEventTypes
func ExpensePurposeCommandTypes ¶
func ExpensePurposeCommandTypes() *expensePurposeCommandTypes
func ExpensePurposeEventTypes ¶
func ExpensePurposeEventTypes() *expensePurposeEventTypes
func FeeCommandTypes ¶
func FeeCommandTypes() *feeCommandTypes
func FeeEventTypes ¶
func FeeEventTypes() *feeEventTypes
func FeeKindCommandTypes ¶
func FeeKindCommandTypes() *feeKindCommandTypes
func FeeKindEventTypes ¶
func FeeKindEventTypes() *feeKindEventTypes
Types ¶
type CreateExpense ¶
type CreateExpense struct { Purpose *ExpensePurpose `json:"purpose" eh:"optional"` Amount float64 `json:"amount" eh:"optional"` Profile *person.Profile `json:"profile" eh:"optional"` Date *time.Time `json:"date" eh:"optional"` Id uuid.UUID `json:"id" eh:"optional"` }
func (*CreateExpense) AggregateID ¶
func (o *CreateExpense) AggregateID() uuid.UUID
func (*CreateExpense) AggregateType ¶
func (o *CreateExpense) AggregateType() eventhorizon.AggregateType
func (*CreateExpense) CommandType ¶
func (o *CreateExpense) CommandType() eventhorizon.CommandType
type CreateExpensePurpose ¶
type CreateExpensePurpose struct { Name string `json:"name" eh:"optional"` Description string `json:"description" eh:"optional"` Id uuid.UUID `json:"id" eh:"optional"` }
func (*CreateExpensePurpose) AggregateID ¶
func (o *CreateExpensePurpose) AggregateID() uuid.UUID
func (*CreateExpensePurpose) AggregateType ¶
func (o *CreateExpensePurpose) AggregateType() eventhorizon.AggregateType
func (*CreateExpensePurpose) CommandType ¶
func (o *CreateExpensePurpose) CommandType() eventhorizon.CommandType
type CreateFee ¶
type CreateFee struct { Student *person.Profile `json:"student" eh:"optional"` Amount float64 `json:"amount" eh:"optional"` Kind *FeeKind `json:"kind" eh:"optional"` Date *time.Time `json:"date" eh:"optional"` Id uuid.UUID `json:"id" eh:"optional"` }
func (*CreateFee) AggregateID ¶
func (*CreateFee) AggregateType ¶
func (o *CreateFee) AggregateType() eventhorizon.AggregateType
func (*CreateFee) CommandType ¶
func (o *CreateFee) CommandType() eventhorizon.CommandType
type CreateFeeKind ¶
type CreateFeeKind struct { Name string `json:"name" eh:"optional"` Amount float64 `json:"amount" eh:"optional"` Description string `json:"description" eh:"optional"` Id uuid.UUID `json:"id" eh:"optional"` }
func (*CreateFeeKind) AggregateID ¶
func (o *CreateFeeKind) AggregateID() uuid.UUID
func (*CreateFeeKind) AggregateType ¶
func (o *CreateFeeKind) AggregateType() eventhorizon.AggregateType
func (*CreateFeeKind) CommandType ¶
func (o *CreateFeeKind) CommandType() eventhorizon.CommandType
type DeleteExpense ¶
func (*DeleteExpense) AggregateID ¶
func (o *DeleteExpense) AggregateID() uuid.UUID
func (*DeleteExpense) AggregateType ¶
func (o *DeleteExpense) AggregateType() eventhorizon.AggregateType
func (*DeleteExpense) CommandType ¶
func (o *DeleteExpense) CommandType() eventhorizon.CommandType
type DeleteExpensePurpose ¶
func (*DeleteExpensePurpose) AggregateID ¶
func (o *DeleteExpensePurpose) AggregateID() uuid.UUID
func (*DeleteExpensePurpose) AggregateType ¶
func (o *DeleteExpensePurpose) AggregateType() eventhorizon.AggregateType
func (*DeleteExpensePurpose) CommandType ¶
func (o *DeleteExpensePurpose) CommandType() eventhorizon.CommandType
type DeleteFee ¶
func (*DeleteFee) AggregateID ¶
func (*DeleteFee) AggregateType ¶
func (o *DeleteFee) AggregateType() eventhorizon.AggregateType
func (*DeleteFee) CommandType ¶
func (o *DeleteFee) CommandType() eventhorizon.CommandType
type DeleteFeeKind ¶
func (*DeleteFeeKind) AggregateID ¶
func (o *DeleteFeeKind) AggregateID() uuid.UUID
func (*DeleteFeeKind) AggregateType ¶
func (o *DeleteFeeKind) AggregateType() eventhorizon.AggregateType
func (*DeleteFeeKind) CommandType ¶
func (o *DeleteFeeKind) CommandType() eventhorizon.CommandType
type Expense ¶
type Expense struct { Purpose *ExpensePurpose `json:"purpose" eh:"optional"` Amount float64 `json:"amount" eh:"optional"` Profile *person.Profile `json:"profile" eh:"optional"` Date *time.Time `json:"date" eh:"optional"` Id uuid.UUID `json:"id" eh:"optional"` }
func NewExpense ¶
func NewExpense() (ret *Expense)
func NewExpenseByPropNames ¶
func NewExpensesByPropNames ¶
type ExpenseAggregateInitializer ¶
type ExpenseAggregateInitializer struct { *eh.AggregateInitializer *ExpenseCommandHandler *ExpenseEventHandler ProjectorHandler *ExpenseEventHandler `json:"projectorHandler" eh:"optional"` }
func NewExpenseAggregateInitializer ¶
func NewExpenseAggregateInitializer(eventStore eventhorizon.EventStore, eventBus eventhorizon.EventBus, commandBus *bus.CommandHandler, readRepos func(string, func() (ret eventhorizon.Entity)) (ret eventhorizon.ReadWriteRepo)) (ret *ExpenseAggregateInitializer)
type ExpenseCli ¶
type ExpenseCli struct { }
func NewExpenseCli ¶
func NewExpenseCli() (ret *ExpenseCli)
type ExpenseClient ¶
type ExpenseClient struct { Url string `json:"url" eh:"optional"` Client *http.Client `json:"client" eh:"optional"` }
func NewExpenseClient ¶
func NewExpenseClient(url string, client *http.Client) (ret *ExpenseClient)
func (*ExpenseClient) Create ¶
func (o *ExpenseClient) Create(items []*Expense) (err error)
func (*ExpenseClient) ImportJSON ¶
func (o *ExpenseClient) ImportJSON(fileJSON string) (err error)
func (*ExpenseClient) ReadFileJSON ¶
func (o *ExpenseClient) ReadFileJSON(fileJSON string) (ret []*Expense, err error)
type ExpenseCommandHandler ¶
type ExpenseCommandHandler struct { CreateHandler func(*CreateExpense, *Expense, eh.AggregateStoreEvent) (err error) `json:"createHandler" eh:"optional"` DeleteHandler func(*DeleteExpense, *Expense, eh.AggregateStoreEvent) (err error) `json:"deleteHandler" eh:"optional"` UpdateHandler func(*UpdateExpense, *Expense, eh.AggregateStoreEvent) (err error) `json:"updateHandler" eh:"optional"` }
func (*ExpenseCommandHandler) AddCreatePreparer ¶
func (o *ExpenseCommandHandler) AddCreatePreparer(preparer func(*CreateExpense, *Expense) (err error))
func (*ExpenseCommandHandler) AddDeletePreparer ¶
func (o *ExpenseCommandHandler) AddDeletePreparer(preparer func(*DeleteExpense, *Expense) (err error))
func (*ExpenseCommandHandler) AddUpdatePreparer ¶
func (o *ExpenseCommandHandler) AddUpdatePreparer(preparer func(*UpdateExpense, *Expense) (err error))
func (*ExpenseCommandHandler) Execute ¶
func (o *ExpenseCommandHandler) Execute(cmd eventhorizon.Command, entity eventhorizon.Entity, store eh.AggregateStoreEvent) (err error)
func (*ExpenseCommandHandler) SetupCommandHandler ¶
func (o *ExpenseCommandHandler) SetupCommandHandler() (err error)
type ExpenseCommandType ¶
type ExpenseCommandType struct {
// contains filtered or unexported fields
}
func (ExpenseCommandType) GetBSON ¶
func (o ExpenseCommandType) GetBSON() (ret interface{}, err error)
func (*ExpenseCommandType) IsCreateExpense ¶
func (o *ExpenseCommandType) IsCreateExpense() bool
func (*ExpenseCommandType) IsDeleteExpense ¶
func (o *ExpenseCommandType) IsDeleteExpense() bool
func (*ExpenseCommandType) IsUpdateExpense ¶
func (o *ExpenseCommandType) IsUpdateExpense() bool
func (ExpenseCommandType) MarshalJSON ¶
func (o ExpenseCommandType) MarshalJSON() (ret []byte, err error)
func (*ExpenseCommandType) Name ¶
func (o *ExpenseCommandType) Name() string
func (*ExpenseCommandType) Ordinal ¶
func (o *ExpenseCommandType) Ordinal() int
func (*ExpenseCommandType) UnmarshalJSON ¶
func (o *ExpenseCommandType) UnmarshalJSON(data []byte) (err error)
type ExpenseCreated ¶
type ExpenseDeleted ¶
type ExpenseEventHandler ¶
type ExpenseEventHandler struct { CreatedHandler func(*ExpenseCreated, *Expense) (err error) `json:"createdHandler" eh:"optional"` DeletedHandler func(*ExpenseDeleted, *Expense) (err error) `json:"deletedHandler" eh:"optional"` UpdatedHandler func(*ExpenseUpdated, *Expense) (err error) `json:"updatedHandler" eh:"optional"` }
func (*ExpenseEventHandler) Apply ¶
func (o *ExpenseEventHandler) Apply(event eventhorizon.Event, entity eventhorizon.Entity) (err error)
func (*ExpenseEventHandler) SetupEventHandler ¶
func (o *ExpenseEventHandler) SetupEventHandler() (err error)
type ExpenseEventType ¶
type ExpenseEventType struct {
// contains filtered or unexported fields
}
func (ExpenseEventType) GetBSON ¶
func (o ExpenseEventType) GetBSON() (ret interface{}, err error)
func (*ExpenseEventType) IsExpenseCreated ¶
func (o *ExpenseEventType) IsExpenseCreated() bool
func (*ExpenseEventType) IsExpenseDeleted ¶
func (o *ExpenseEventType) IsExpenseDeleted() bool
func (*ExpenseEventType) IsExpenseUpdated ¶
func (o *ExpenseEventType) IsExpenseUpdated() bool
func (ExpenseEventType) MarshalJSON ¶
func (o ExpenseEventType) MarshalJSON() (ret []byte, err error)
func (*ExpenseEventType) Name ¶
func (o *ExpenseEventType) Name() string
func (*ExpenseEventType) Ordinal ¶
func (o *ExpenseEventType) Ordinal() int
func (*ExpenseEventType) UnmarshalJSON ¶
func (o *ExpenseEventType) UnmarshalJSON(data []byte) (err error)
type ExpenseExecutors ¶
type ExpenseExecutors struct {
Initial *ExpenseInitialExecutor `json:"initial" eh:"optional"`
}
func NewExpenseExecutors ¶
func NewExpenseExecutors() (ret *ExpenseExecutors)
type ExpenseHandlers ¶
type ExpenseHandlers struct {
Initial *ExpenseInitialHandler `json:"initial" eh:"optional"`
}
func NewExpenseHandlers ¶
func NewExpenseHandlers() (ret *ExpenseHandlers)
type ExpenseHttpCommandHandler ¶
type ExpenseHttpCommandHandler struct {
*eh.HttpCommandHandler
}
func NewExpenseHttpCommandHandler ¶
func NewExpenseHttpCommandHandler(context context.Context, commandBus eventhorizon.CommandHandler) (ret *ExpenseHttpCommandHandler)
func (*ExpenseHttpCommandHandler) Create ¶
func (o *ExpenseHttpCommandHandler) Create(w http.ResponseWriter, r *http.Request)
func (*ExpenseHttpCommandHandler) Delete ¶
func (o *ExpenseHttpCommandHandler) Delete(w http.ResponseWriter, r *http.Request)
func (*ExpenseHttpCommandHandler) Update ¶
func (o *ExpenseHttpCommandHandler) Update(w http.ResponseWriter, r *http.Request)
type ExpenseHttpQueryHandler ¶
type ExpenseHttpQueryHandler struct { *eh.HttpQueryHandler QueryRepository *ExpenseQueryRepository `json:"queryRepository" eh:"optional"` }
func NewExpenseHttpQueryHandler ¶
func NewExpenseHttpQueryHandler(queryRepository *ExpenseQueryRepository) (ret *ExpenseHttpQueryHandler)
func (*ExpenseHttpQueryHandler) CountAll ¶
func (o *ExpenseHttpQueryHandler) CountAll(w http.ResponseWriter, r *http.Request)
func (*ExpenseHttpQueryHandler) CountById ¶
func (o *ExpenseHttpQueryHandler) CountById(w http.ResponseWriter, r *http.Request)
func (*ExpenseHttpQueryHandler) ExistAll ¶
func (o *ExpenseHttpQueryHandler) ExistAll(w http.ResponseWriter, r *http.Request)
func (*ExpenseHttpQueryHandler) ExistById ¶
func (o *ExpenseHttpQueryHandler) ExistById(w http.ResponseWriter, r *http.Request)
func (*ExpenseHttpQueryHandler) FindAll ¶
func (o *ExpenseHttpQueryHandler) FindAll(w http.ResponseWriter, r *http.Request)
func (*ExpenseHttpQueryHandler) FindById ¶
func (o *ExpenseHttpQueryHandler) FindById(w http.ResponseWriter, r *http.Request)
type ExpenseInitialExecutor ¶
type ExpenseInitialExecutor struct { }
func NewExpenseInitialExecutor ¶
func NewExpenseInitialExecutor() (ret *ExpenseInitialExecutor)
type ExpenseInitialHandler ¶
type ExpenseInitialHandler struct { }
func NewExpenseInitialHandler ¶
func NewExpenseInitialHandler() (ret *ExpenseInitialHandler)
func (*ExpenseInitialHandler) Apply ¶
func (o *ExpenseInitialHandler) Apply(event eventhorizon.Event, entity eventhorizon.Entity) (err error)
func (*ExpenseInitialHandler) SetupEventHandler ¶
func (o *ExpenseInitialHandler) SetupEventHandler() (err error)
type ExpensePurpose ¶
type ExpensePurpose struct { Name string `json:"name" eh:"optional"` Description string `json:"description" eh:"optional"` Id uuid.UUID `json:"id" eh:"optional"` }
func NewExpensePurpose ¶
func NewExpensePurpose() (ret *ExpensePurpose)
func NewExpensePurposeByPropNames ¶
func NewExpensePurposeByPropNames(intSalt int) (ret *ExpensePurpose)
func NewExpensePurposesByPropNames ¶
func NewExpensePurposesByPropNames(count int) []*ExpensePurpose
func (*ExpensePurpose) EntityID ¶
func (o *ExpensePurpose) EntityID() uuid.UUID
type ExpensePurposeAggregateInitializer ¶
type ExpensePurposeAggregateInitializer struct { *eh.AggregateInitializer *ExpensePurposeCommandHandler *ExpensePurposeEventHandler ProjectorHandler *ExpensePurposeEventHandler `json:"projectorHandler" eh:"optional"` }
func NewExpensePurposeAggregateInitializer ¶
func NewExpensePurposeAggregateInitializer(eventStore eventhorizon.EventStore, eventBus eventhorizon.EventBus, commandBus *bus.CommandHandler, readRepos func(string, func() (ret eventhorizon.Entity)) (ret eventhorizon.ReadWriteRepo)) (ret *ExpensePurposeAggregateInitializer)
type ExpensePurposeCli ¶
type ExpensePurposeCli struct { }
func NewExpensePurposeCli ¶
func NewExpensePurposeCli() (ret *ExpensePurposeCli)
type ExpensePurposeClient ¶
type ExpensePurposeClient struct { Url string `json:"url" eh:"optional"` Client *http.Client `json:"client" eh:"optional"` }
func NewExpensePurposeClient ¶
func NewExpensePurposeClient(url string, client *http.Client) (ret *ExpensePurposeClient)
func (*ExpensePurposeClient) Create ¶
func (o *ExpensePurposeClient) Create(items []*ExpensePurpose) (err error)
func (*ExpensePurposeClient) ImportJSON ¶
func (o *ExpensePurposeClient) ImportJSON(fileJSON string) (err error)
func (*ExpensePurposeClient) ReadFileJSON ¶
func (o *ExpensePurposeClient) ReadFileJSON(fileJSON string) (ret []*ExpensePurpose, err error)
type ExpensePurposeCommandHandler ¶
type ExpensePurposeCommandHandler struct { CreateHandler func(*CreateExpensePurpose, *ExpensePurpose, eh.AggregateStoreEvent) (err error) `json:"createHandler" eh:"optional"` DeleteHandler func(*DeleteExpensePurpose, *ExpensePurpose, eh.AggregateStoreEvent) (err error) `json:"deleteHandler" eh:"optional"` UpdateHandler func(*UpdateExpensePurpose, *ExpensePurpose, eh.AggregateStoreEvent) (err error) `json:"updateHandler" eh:"optional"` }
func (*ExpensePurposeCommandHandler) AddCreatePreparer ¶
func (o *ExpensePurposeCommandHandler) AddCreatePreparer(preparer func(*CreateExpensePurpose, *ExpensePurpose) (err error))
func (*ExpensePurposeCommandHandler) AddDeletePreparer ¶
func (o *ExpensePurposeCommandHandler) AddDeletePreparer(preparer func(*DeleteExpensePurpose, *ExpensePurpose) (err error))
func (*ExpensePurposeCommandHandler) AddUpdatePreparer ¶
func (o *ExpensePurposeCommandHandler) AddUpdatePreparer(preparer func(*UpdateExpensePurpose, *ExpensePurpose) (err error))
func (*ExpensePurposeCommandHandler) Execute ¶
func (o *ExpensePurposeCommandHandler) Execute(cmd eventhorizon.Command, entity eventhorizon.Entity, store eh.AggregateStoreEvent) (err error)
func (*ExpensePurposeCommandHandler) SetupCommandHandler ¶
func (o *ExpensePurposeCommandHandler) SetupCommandHandler() (err error)
type ExpensePurposeCommandType ¶
type ExpensePurposeCommandType struct {
// contains filtered or unexported fields
}
func (ExpensePurposeCommandType) GetBSON ¶
func (o ExpensePurposeCommandType) GetBSON() (ret interface{}, err error)
func (*ExpensePurposeCommandType) IsCreateExpensePurpose ¶
func (o *ExpensePurposeCommandType) IsCreateExpensePurpose() bool
func (*ExpensePurposeCommandType) IsDeleteExpensePurpose ¶
func (o *ExpensePurposeCommandType) IsDeleteExpensePurpose() bool
func (*ExpensePurposeCommandType) IsUpdateExpensePurpose ¶
func (o *ExpensePurposeCommandType) IsUpdateExpensePurpose() bool
func (ExpensePurposeCommandType) MarshalJSON ¶
func (o ExpensePurposeCommandType) MarshalJSON() (ret []byte, err error)
func (*ExpensePurposeCommandType) Name ¶
func (o *ExpensePurposeCommandType) Name() string
func (*ExpensePurposeCommandType) Ordinal ¶
func (o *ExpensePurposeCommandType) Ordinal() int
func (*ExpensePurposeCommandType) SetBSON ¶
func (o *ExpensePurposeCommandType) SetBSON(raw bson.Raw) (err error)
func (*ExpensePurposeCommandType) UnmarshalJSON ¶
func (o *ExpensePurposeCommandType) UnmarshalJSON(data []byte) (err error)
type ExpensePurposeCreated ¶
type ExpensePurposeDeleted ¶
type ExpensePurposeEventHandler ¶
type ExpensePurposeEventHandler struct { CreatedHandler func(*ExpensePurposeCreated, *ExpensePurpose) (err error) `json:"createdHandler" eh:"optional"` DeletedHandler func(*ExpensePurposeDeleted, *ExpensePurpose) (err error) `json:"deletedHandler" eh:"optional"` UpdatedHandler func(*ExpensePurposeUpdated, *ExpensePurpose) (err error) `json:"updatedHandler" eh:"optional"` }
func (*ExpensePurposeEventHandler) Apply ¶
func (o *ExpensePurposeEventHandler) Apply(event eventhorizon.Event, entity eventhorizon.Entity) (err error)
func (*ExpensePurposeEventHandler) SetupEventHandler ¶
func (o *ExpensePurposeEventHandler) SetupEventHandler() (err error)
type ExpensePurposeEventType ¶
type ExpensePurposeEventType struct {
// contains filtered or unexported fields
}
func (ExpensePurposeEventType) GetBSON ¶
func (o ExpensePurposeEventType) GetBSON() (ret interface{}, err error)
func (*ExpensePurposeEventType) IsExpensePurposeCreated ¶
func (o *ExpensePurposeEventType) IsExpensePurposeCreated() bool
func (*ExpensePurposeEventType) IsExpensePurposeDeleted ¶
func (o *ExpensePurposeEventType) IsExpensePurposeDeleted() bool
func (*ExpensePurposeEventType) IsExpensePurposeUpdated ¶
func (o *ExpensePurposeEventType) IsExpensePurposeUpdated() bool
func (ExpensePurposeEventType) MarshalJSON ¶
func (o ExpensePurposeEventType) MarshalJSON() (ret []byte, err error)
func (*ExpensePurposeEventType) Name ¶
func (o *ExpensePurposeEventType) Name() string
func (*ExpensePurposeEventType) Ordinal ¶
func (o *ExpensePurposeEventType) Ordinal() int
func (*ExpensePurposeEventType) SetBSON ¶
func (o *ExpensePurposeEventType) SetBSON(raw bson.Raw) (err error)
func (*ExpensePurposeEventType) UnmarshalJSON ¶
func (o *ExpensePurposeEventType) UnmarshalJSON(data []byte) (err error)
type ExpensePurposeExecutors ¶
type ExpensePurposeExecutors struct {
Initial *ExpensePurposeInitialExecutor `json:"initial" eh:"optional"`
}
func NewExpensePurposeExecutors ¶
func NewExpensePurposeExecutors() (ret *ExpensePurposeExecutors)
type ExpensePurposeHandlers ¶
type ExpensePurposeHandlers struct {
Initial *ExpensePurposeInitialHandler `json:"initial" eh:"optional"`
}
func NewExpensePurposeHandlers ¶
func NewExpensePurposeHandlers() (ret *ExpensePurposeHandlers)
type ExpensePurposeHttpCommandHandler ¶
type ExpensePurposeHttpCommandHandler struct {
*eh.HttpCommandHandler
}
func NewExpensePurposeHttpCommandHandler ¶
func NewExpensePurposeHttpCommandHandler(context context.Context, commandBus eventhorizon.CommandHandler) (ret *ExpensePurposeHttpCommandHandler)
func (*ExpensePurposeHttpCommandHandler) Create ¶
func (o *ExpensePurposeHttpCommandHandler) Create(w http.ResponseWriter, r *http.Request)
func (*ExpensePurposeHttpCommandHandler) Delete ¶
func (o *ExpensePurposeHttpCommandHandler) Delete(w http.ResponseWriter, r *http.Request)
func (*ExpensePurposeHttpCommandHandler) Update ¶
func (o *ExpensePurposeHttpCommandHandler) Update(w http.ResponseWriter, r *http.Request)
type ExpensePurposeHttpQueryHandler ¶
type ExpensePurposeHttpQueryHandler struct { *eh.HttpQueryHandler QueryRepository *ExpensePurposeQueryRepository `json:"queryRepository" eh:"optional"` }
func NewExpensePurposeHttpQueryHandler ¶
func NewExpensePurposeHttpQueryHandler(queryRepository *ExpensePurposeQueryRepository) (ret *ExpensePurposeHttpQueryHandler)
func (*ExpensePurposeHttpQueryHandler) CountAll ¶
func (o *ExpensePurposeHttpQueryHandler) CountAll(w http.ResponseWriter, r *http.Request)
func (*ExpensePurposeHttpQueryHandler) CountById ¶
func (o *ExpensePurposeHttpQueryHandler) CountById(w http.ResponseWriter, r *http.Request)
func (*ExpensePurposeHttpQueryHandler) ExistAll ¶
func (o *ExpensePurposeHttpQueryHandler) ExistAll(w http.ResponseWriter, r *http.Request)
func (*ExpensePurposeHttpQueryHandler) ExistById ¶
func (o *ExpensePurposeHttpQueryHandler) ExistById(w http.ResponseWriter, r *http.Request)
func (*ExpensePurposeHttpQueryHandler) FindAll ¶
func (o *ExpensePurposeHttpQueryHandler) FindAll(w http.ResponseWriter, r *http.Request)
func (*ExpensePurposeHttpQueryHandler) FindById ¶
func (o *ExpensePurposeHttpQueryHandler) FindById(w http.ResponseWriter, r *http.Request)
type ExpensePurposeInitialExecutor ¶
type ExpensePurposeInitialExecutor struct { }
func NewExpensePurposeInitialExecutor ¶
func NewExpensePurposeInitialExecutor() (ret *ExpensePurposeInitialExecutor)
type ExpensePurposeInitialHandler ¶
type ExpensePurposeInitialHandler struct { }
func NewExpensePurposeInitialHandler ¶
func NewExpensePurposeInitialHandler() (ret *ExpensePurposeInitialHandler)
func (*ExpensePurposeInitialHandler) Apply ¶
func (o *ExpensePurposeInitialHandler) Apply(event eventhorizon.Event, entity eventhorizon.Entity) (err error)
func (*ExpensePurposeInitialHandler) SetupEventHandler ¶
func (o *ExpensePurposeInitialHandler) SetupEventHandler() (err error)
type ExpensePurposeQueryRepository ¶
type ExpensePurposeQueryRepository struct {
// contains filtered or unexported fields
}
func NewExpensePurposeQueryRepository ¶
func NewExpensePurposeQueryRepository(repo eventhorizon.ReadRepo, context context.Context) (ret *ExpensePurposeQueryRepository)
func (*ExpensePurposeQueryRepository) CountAll ¶
func (o *ExpensePurposeQueryRepository) CountAll() (ret int, err error)
func (*ExpensePurposeQueryRepository) CountById ¶
func (o *ExpensePurposeQueryRepository) CountById(id uuid.UUID) (ret int, err error)
func (*ExpensePurposeQueryRepository) ExistAll ¶
func (o *ExpensePurposeQueryRepository) ExistAll() (ret bool, err error)
func (*ExpensePurposeQueryRepository) ExistById ¶
func (o *ExpensePurposeQueryRepository) ExistById(id uuid.UUID) (ret bool, err error)
func (*ExpensePurposeQueryRepository) FindAll ¶
func (o *ExpensePurposeQueryRepository) FindAll() (ret []*ExpensePurpose, err error)
func (*ExpensePurposeQueryRepository) FindById ¶
func (o *ExpensePurposeQueryRepository) FindById(id uuid.UUID) (ret *ExpensePurpose, err error)
type ExpensePurposeRouter ¶
type ExpensePurposeRouter struct { PathPrefix string `json:"pathPrefix" eh:"optional"` QueryHandler *ExpensePurposeHttpQueryHandler `json:"queryHandler" eh:"optional"` CommandHandler *ExpensePurposeHttpCommandHandler `json:"commandHandler" eh:"optional"` Router *mux.Router `json:"router" eh:"optional"` }
func NewExpensePurposeRouter ¶
func NewExpensePurposeRouter(pathPrefix string, context context.Context, commandBus eventhorizon.CommandHandler, readRepos func(string, func() (ret eventhorizon.Entity)) (ret eventhorizon.ReadWriteRepo)) (ret *ExpensePurposeRouter)
type ExpensePurposeUpdated ¶
type ExpenseQueryRepository ¶
type ExpenseQueryRepository struct {
// contains filtered or unexported fields
}
func NewExpenseQueryRepository ¶
func NewExpenseQueryRepository(repo eventhorizon.ReadRepo, context context.Context) (ret *ExpenseQueryRepository)
func (*ExpenseQueryRepository) CountAll ¶
func (o *ExpenseQueryRepository) CountAll() (ret int, err error)
func (*ExpenseQueryRepository) CountById ¶
func (o *ExpenseQueryRepository) CountById(id uuid.UUID) (ret int, err error)
func (*ExpenseQueryRepository) ExistAll ¶
func (o *ExpenseQueryRepository) ExistAll() (ret bool, err error)
func (*ExpenseQueryRepository) ExistById ¶
func (o *ExpenseQueryRepository) ExistById(id uuid.UUID) (ret bool, err error)
func (*ExpenseQueryRepository) FindAll ¶
func (o *ExpenseQueryRepository) FindAll() (ret []*Expense, err error)
type ExpenseRouter ¶
type ExpenseRouter struct { PathPrefix string `json:"pathPrefix" eh:"optional"` QueryHandler *ExpenseHttpQueryHandler `json:"queryHandler" eh:"optional"` CommandHandler *ExpenseHttpCommandHandler `json:"commandHandler" eh:"optional"` Router *mux.Router `json:"router" eh:"optional"` }
func NewExpenseRouter ¶
func NewExpenseRouter(pathPrefix string, context context.Context, commandBus eventhorizon.CommandHandler, readRepos func(string, func() (ret eventhorizon.Entity)) (ret eventhorizon.ReadWriteRepo)) (ret *ExpenseRouter)
type ExpenseUpdated ¶
type Fee ¶
type Fee struct { Student *person.Profile `json:"student" eh:"optional"` Amount float64 `json:"amount" eh:"optional"` Kind *FeeKind `json:"kind" eh:"optional"` Date *time.Time `json:"date" eh:"optional"` Id uuid.UUID `json:"id" eh:"optional"` }
func NewFeeByPropNames ¶
func NewFeesByPropNames ¶
type FeeAggregateInitializer ¶
type FeeAggregateInitializer struct { *eh.AggregateInitializer *FeeCommandHandler *FeeEventHandler ProjectorHandler *FeeEventHandler `json:"projectorHandler" eh:"optional"` }
func NewFeeAggregateInitializer ¶
func NewFeeAggregateInitializer(eventStore eventhorizon.EventStore, eventBus eventhorizon.EventBus, commandBus *bus.CommandHandler, readRepos func(string, func() (ret eventhorizon.Entity)) (ret eventhorizon.ReadWriteRepo)) (ret *FeeAggregateInitializer)
type FeeClient ¶
type FeeClient struct { Url string `json:"url" eh:"optional"` Client *http.Client `json:"client" eh:"optional"` }
func (*FeeClient) ImportJSON ¶
type FeeCommandHandler ¶
type FeeCommandHandler struct { CreateHandler func(*CreateFee, *Fee, eh.AggregateStoreEvent) (err error) `json:"createHandler" eh:"optional"` DeleteHandler func(*DeleteFee, *Fee, eh.AggregateStoreEvent) (err error) `json:"deleteHandler" eh:"optional"` UpdateHandler func(*UpdateFee, *Fee, eh.AggregateStoreEvent) (err error) `json:"updateHandler" eh:"optional"` }
func (*FeeCommandHandler) AddCreatePreparer ¶
func (o *FeeCommandHandler) AddCreatePreparer(preparer func(*CreateFee, *Fee) (err error))
func (*FeeCommandHandler) AddDeletePreparer ¶
func (o *FeeCommandHandler) AddDeletePreparer(preparer func(*DeleteFee, *Fee) (err error))
func (*FeeCommandHandler) AddUpdatePreparer ¶
func (o *FeeCommandHandler) AddUpdatePreparer(preparer func(*UpdateFee, *Fee) (err error))
func (*FeeCommandHandler) Execute ¶
func (o *FeeCommandHandler) Execute(cmd eventhorizon.Command, entity eventhorizon.Entity, store eh.AggregateStoreEvent) (err error)
func (*FeeCommandHandler) SetupCommandHandler ¶
func (o *FeeCommandHandler) SetupCommandHandler() (err error)
type FeeCommandType ¶
type FeeCommandType struct {
// contains filtered or unexported fields
}
func (FeeCommandType) GetBSON ¶
func (o FeeCommandType) GetBSON() (ret interface{}, err error)
func (*FeeCommandType) IsCreateFee ¶
func (o *FeeCommandType) IsCreateFee() bool
func (*FeeCommandType) IsDeleteFee ¶
func (o *FeeCommandType) IsDeleteFee() bool
func (*FeeCommandType) IsUpdateFee ¶
func (o *FeeCommandType) IsUpdateFee() bool
func (FeeCommandType) MarshalJSON ¶
func (o FeeCommandType) MarshalJSON() (ret []byte, err error)
func (*FeeCommandType) Name ¶
func (o *FeeCommandType) Name() string
func (*FeeCommandType) Ordinal ¶
func (o *FeeCommandType) Ordinal() int
func (*FeeCommandType) UnmarshalJSON ¶
func (o *FeeCommandType) UnmarshalJSON(data []byte) (err error)
type FeeCreated ¶
type FeeDeleted ¶
type FeeEventHandler ¶
type FeeEventHandler struct { CreatedHandler func(*FeeCreated, *Fee) (err error) `json:"createdHandler" eh:"optional"` DeletedHandler func(*FeeDeleted, *Fee) (err error) `json:"deletedHandler" eh:"optional"` UpdatedHandler func(*FeeUpdated, *Fee) (err error) `json:"updatedHandler" eh:"optional"` }
func (*FeeEventHandler) Apply ¶
func (o *FeeEventHandler) Apply(event eventhorizon.Event, entity eventhorizon.Entity) (err error)
func (*FeeEventHandler) SetupEventHandler ¶
func (o *FeeEventHandler) SetupEventHandler() (err error)
type FeeEventType ¶
type FeeEventType struct {
// contains filtered or unexported fields
}
func (FeeEventType) GetBSON ¶
func (o FeeEventType) GetBSON() (ret interface{}, err error)
func (*FeeEventType) IsFeeCreated ¶
func (o *FeeEventType) IsFeeCreated() bool
func (*FeeEventType) IsFeeDeleted ¶
func (o *FeeEventType) IsFeeDeleted() bool
func (*FeeEventType) IsFeeUpdated ¶
func (o *FeeEventType) IsFeeUpdated() bool
func (FeeEventType) MarshalJSON ¶
func (o FeeEventType) MarshalJSON() (ret []byte, err error)
func (*FeeEventType) Name ¶
func (o *FeeEventType) Name() string
func (*FeeEventType) Ordinal ¶
func (o *FeeEventType) Ordinal() int
func (*FeeEventType) UnmarshalJSON ¶
func (o *FeeEventType) UnmarshalJSON(data []byte) (err error)
type FeeExecutors ¶
type FeeExecutors struct {
Initial *FeeInitialExecutor `json:"initial" eh:"optional"`
}
func NewFeeExecutors ¶
func NewFeeExecutors() (ret *FeeExecutors)
type FeeHandlers ¶
type FeeHandlers struct {
Initial *FeeInitialHandler `json:"initial" eh:"optional"`
}
func NewFeeHandlers ¶
func NewFeeHandlers() (ret *FeeHandlers)
type FeeHttpCommandHandler ¶
type FeeHttpCommandHandler struct {
*eh.HttpCommandHandler
}
func NewFeeHttpCommandHandler ¶
func NewFeeHttpCommandHandler(context context.Context, commandBus eventhorizon.CommandHandler) (ret *FeeHttpCommandHandler)
func (*FeeHttpCommandHandler) Create ¶
func (o *FeeHttpCommandHandler) Create(w http.ResponseWriter, r *http.Request)
func (*FeeHttpCommandHandler) Delete ¶
func (o *FeeHttpCommandHandler) Delete(w http.ResponseWriter, r *http.Request)
func (*FeeHttpCommandHandler) Update ¶
func (o *FeeHttpCommandHandler) Update(w http.ResponseWriter, r *http.Request)
type FeeHttpQueryHandler ¶
type FeeHttpQueryHandler struct { *eh.HttpQueryHandler QueryRepository *FeeQueryRepository `json:"queryRepository" eh:"optional"` }
func NewFeeHttpQueryHandler ¶
func NewFeeHttpQueryHandler(queryRepository *FeeQueryRepository) (ret *FeeHttpQueryHandler)
func (*FeeHttpQueryHandler) CountAll ¶
func (o *FeeHttpQueryHandler) CountAll(w http.ResponseWriter, r *http.Request)
func (*FeeHttpQueryHandler) CountById ¶
func (o *FeeHttpQueryHandler) CountById(w http.ResponseWriter, r *http.Request)
func (*FeeHttpQueryHandler) ExistAll ¶
func (o *FeeHttpQueryHandler) ExistAll(w http.ResponseWriter, r *http.Request)
func (*FeeHttpQueryHandler) ExistById ¶
func (o *FeeHttpQueryHandler) ExistById(w http.ResponseWriter, r *http.Request)
func (*FeeHttpQueryHandler) FindAll ¶
func (o *FeeHttpQueryHandler) FindAll(w http.ResponseWriter, r *http.Request)
func (*FeeHttpQueryHandler) FindById ¶
func (o *FeeHttpQueryHandler) FindById(w http.ResponseWriter, r *http.Request)
type FeeInitialExecutor ¶
type FeeInitialExecutor struct { }
func NewFeeInitialExecutor ¶
func NewFeeInitialExecutor() (ret *FeeInitialExecutor)
type FeeInitialHandler ¶
type FeeInitialHandler struct { }
func NewFeeInitialHandler ¶
func NewFeeInitialHandler() (ret *FeeInitialHandler)
func (*FeeInitialHandler) Apply ¶
func (o *FeeInitialHandler) Apply(event eventhorizon.Event, entity eventhorizon.Entity) (err error)
func (*FeeInitialHandler) SetupEventHandler ¶
func (o *FeeInitialHandler) SetupEventHandler() (err error)
type FeeKind ¶
type FeeKind struct { Name string `json:"name" eh:"optional"` Amount float64 `json:"amount" eh:"optional"` Description string `json:"description" eh:"optional"` Id uuid.UUID `json:"id" eh:"optional"` }
func NewFeeKind ¶
func NewFeeKind() (ret *FeeKind)
func NewFeeKindByPropNames ¶
func NewFeeKindsByPropNames ¶
type FeeKindAggregateInitializer ¶
type FeeKindAggregateInitializer struct { *eh.AggregateInitializer *FeeKindCommandHandler *FeeKindEventHandler ProjectorHandler *FeeKindEventHandler `json:"projectorHandler" eh:"optional"` }
func NewFeeKindAggregateInitializer ¶
func NewFeeKindAggregateInitializer(eventStore eventhorizon.EventStore, eventBus eventhorizon.EventBus, commandBus *bus.CommandHandler, readRepos func(string, func() (ret eventhorizon.Entity)) (ret eventhorizon.ReadWriteRepo)) (ret *FeeKindAggregateInitializer)
type FeeKindCli ¶
type FeeKindCli struct { }
func NewFeeKindCli ¶
func NewFeeKindCli() (ret *FeeKindCli)
type FeeKindClient ¶
type FeeKindClient struct { Url string `json:"url" eh:"optional"` Client *http.Client `json:"client" eh:"optional"` }
func NewFeeKindClient ¶
func NewFeeKindClient(url string, client *http.Client) (ret *FeeKindClient)
func (*FeeKindClient) Create ¶
func (o *FeeKindClient) Create(items []*FeeKind) (err error)
func (*FeeKindClient) ImportJSON ¶
func (o *FeeKindClient) ImportJSON(fileJSON string) (err error)
func (*FeeKindClient) ReadFileJSON ¶
func (o *FeeKindClient) ReadFileJSON(fileJSON string) (ret []*FeeKind, err error)
type FeeKindCommandHandler ¶
type FeeKindCommandHandler struct { CreateHandler func(*CreateFeeKind, *FeeKind, eh.AggregateStoreEvent) (err error) `json:"createHandler" eh:"optional"` DeleteHandler func(*DeleteFeeKind, *FeeKind, eh.AggregateStoreEvent) (err error) `json:"deleteHandler" eh:"optional"` UpdateHandler func(*UpdateFeeKind, *FeeKind, eh.AggregateStoreEvent) (err error) `json:"updateHandler" eh:"optional"` }
func (*FeeKindCommandHandler) AddCreatePreparer ¶
func (o *FeeKindCommandHandler) AddCreatePreparer(preparer func(*CreateFeeKind, *FeeKind) (err error))
func (*FeeKindCommandHandler) AddDeletePreparer ¶
func (o *FeeKindCommandHandler) AddDeletePreparer(preparer func(*DeleteFeeKind, *FeeKind) (err error))
func (*FeeKindCommandHandler) AddUpdatePreparer ¶
func (o *FeeKindCommandHandler) AddUpdatePreparer(preparer func(*UpdateFeeKind, *FeeKind) (err error))
func (*FeeKindCommandHandler) Execute ¶
func (o *FeeKindCommandHandler) Execute(cmd eventhorizon.Command, entity eventhorizon.Entity, store eh.AggregateStoreEvent) (err error)
func (*FeeKindCommandHandler) SetupCommandHandler ¶
func (o *FeeKindCommandHandler) SetupCommandHandler() (err error)
type FeeKindCommandType ¶
type FeeKindCommandType struct {
// contains filtered or unexported fields
}
func (FeeKindCommandType) GetBSON ¶
func (o FeeKindCommandType) GetBSON() (ret interface{}, err error)
func (*FeeKindCommandType) IsCreateFeeKind ¶
func (o *FeeKindCommandType) IsCreateFeeKind() bool
func (*FeeKindCommandType) IsDeleteFeeKind ¶
func (o *FeeKindCommandType) IsDeleteFeeKind() bool
func (*FeeKindCommandType) IsUpdateFeeKind ¶
func (o *FeeKindCommandType) IsUpdateFeeKind() bool
func (FeeKindCommandType) MarshalJSON ¶
func (o FeeKindCommandType) MarshalJSON() (ret []byte, err error)
func (*FeeKindCommandType) Name ¶
func (o *FeeKindCommandType) Name() string
func (*FeeKindCommandType) Ordinal ¶
func (o *FeeKindCommandType) Ordinal() int
func (*FeeKindCommandType) UnmarshalJSON ¶
func (o *FeeKindCommandType) UnmarshalJSON(data []byte) (err error)
type FeeKindCreated ¶
type FeeKindDeleted ¶
type FeeKindEventHandler ¶
type FeeKindEventHandler struct { CreatedHandler func(*FeeKindCreated, *FeeKind) (err error) `json:"createdHandler" eh:"optional"` DeletedHandler func(*FeeKindDeleted, *FeeKind) (err error) `json:"deletedHandler" eh:"optional"` UpdatedHandler func(*FeeKindUpdated, *FeeKind) (err error) `json:"updatedHandler" eh:"optional"` }
func (*FeeKindEventHandler) Apply ¶
func (o *FeeKindEventHandler) Apply(event eventhorizon.Event, entity eventhorizon.Entity) (err error)
func (*FeeKindEventHandler) SetupEventHandler ¶
func (o *FeeKindEventHandler) SetupEventHandler() (err error)
type FeeKindEventType ¶
type FeeKindEventType struct {
// contains filtered or unexported fields
}
func (FeeKindEventType) GetBSON ¶
func (o FeeKindEventType) GetBSON() (ret interface{}, err error)
func (*FeeKindEventType) IsFeeKindCreated ¶
func (o *FeeKindEventType) IsFeeKindCreated() bool
func (*FeeKindEventType) IsFeeKindDeleted ¶
func (o *FeeKindEventType) IsFeeKindDeleted() bool
func (*FeeKindEventType) IsFeeKindUpdated ¶
func (o *FeeKindEventType) IsFeeKindUpdated() bool
func (FeeKindEventType) MarshalJSON ¶
func (o FeeKindEventType) MarshalJSON() (ret []byte, err error)
func (*FeeKindEventType) Name ¶
func (o *FeeKindEventType) Name() string
func (*FeeKindEventType) Ordinal ¶
func (o *FeeKindEventType) Ordinal() int
func (*FeeKindEventType) UnmarshalJSON ¶
func (o *FeeKindEventType) UnmarshalJSON(data []byte) (err error)
type FeeKindExecutors ¶
type FeeKindExecutors struct {
Initial *FeeKindInitialExecutor `json:"initial" eh:"optional"`
}
func NewFeeKindExecutors ¶
func NewFeeKindExecutors() (ret *FeeKindExecutors)
type FeeKindHandlers ¶
type FeeKindHandlers struct {
Initial *FeeKindInitialHandler `json:"initial" eh:"optional"`
}
func NewFeeKindHandlers ¶
func NewFeeKindHandlers() (ret *FeeKindHandlers)
type FeeKindHttpCommandHandler ¶
type FeeKindHttpCommandHandler struct {
*eh.HttpCommandHandler
}
func NewFeeKindHttpCommandHandler ¶
func NewFeeKindHttpCommandHandler(context context.Context, commandBus eventhorizon.CommandHandler) (ret *FeeKindHttpCommandHandler)
func (*FeeKindHttpCommandHandler) Create ¶
func (o *FeeKindHttpCommandHandler) Create(w http.ResponseWriter, r *http.Request)
func (*FeeKindHttpCommandHandler) Delete ¶
func (o *FeeKindHttpCommandHandler) Delete(w http.ResponseWriter, r *http.Request)
func (*FeeKindHttpCommandHandler) Update ¶
func (o *FeeKindHttpCommandHandler) Update(w http.ResponseWriter, r *http.Request)
type FeeKindHttpQueryHandler ¶
type FeeKindHttpQueryHandler struct { *eh.HttpQueryHandler QueryRepository *FeeKindQueryRepository `json:"queryRepository" eh:"optional"` }
func NewFeeKindHttpQueryHandler ¶
func NewFeeKindHttpQueryHandler(queryRepository *FeeKindQueryRepository) (ret *FeeKindHttpQueryHandler)
func (*FeeKindHttpQueryHandler) CountAll ¶
func (o *FeeKindHttpQueryHandler) CountAll(w http.ResponseWriter, r *http.Request)
func (*FeeKindHttpQueryHandler) CountById ¶
func (o *FeeKindHttpQueryHandler) CountById(w http.ResponseWriter, r *http.Request)
func (*FeeKindHttpQueryHandler) ExistAll ¶
func (o *FeeKindHttpQueryHandler) ExistAll(w http.ResponseWriter, r *http.Request)
func (*FeeKindHttpQueryHandler) ExistById ¶
func (o *FeeKindHttpQueryHandler) ExistById(w http.ResponseWriter, r *http.Request)
func (*FeeKindHttpQueryHandler) FindAll ¶
func (o *FeeKindHttpQueryHandler) FindAll(w http.ResponseWriter, r *http.Request)
func (*FeeKindHttpQueryHandler) FindById ¶
func (o *FeeKindHttpQueryHandler) FindById(w http.ResponseWriter, r *http.Request)
type FeeKindInitialExecutor ¶
type FeeKindInitialExecutor struct { }
func NewFeeKindInitialExecutor ¶
func NewFeeKindInitialExecutor() (ret *FeeKindInitialExecutor)
type FeeKindInitialHandler ¶
type FeeKindInitialHandler struct { }
func NewFeeKindInitialHandler ¶
func NewFeeKindInitialHandler() (ret *FeeKindInitialHandler)
func (*FeeKindInitialHandler) Apply ¶
func (o *FeeKindInitialHandler) Apply(event eventhorizon.Event, entity eventhorizon.Entity) (err error)
func (*FeeKindInitialHandler) SetupEventHandler ¶
func (o *FeeKindInitialHandler) SetupEventHandler() (err error)
type FeeKindQueryRepository ¶
type FeeKindQueryRepository struct {
// contains filtered or unexported fields
}
func NewFeeKindQueryRepository ¶
func NewFeeKindQueryRepository(repo eventhorizon.ReadRepo, context context.Context) (ret *FeeKindQueryRepository)
func (*FeeKindQueryRepository) CountAll ¶
func (o *FeeKindQueryRepository) CountAll() (ret int, err error)
func (*FeeKindQueryRepository) CountById ¶
func (o *FeeKindQueryRepository) CountById(id uuid.UUID) (ret int, err error)
func (*FeeKindQueryRepository) ExistAll ¶
func (o *FeeKindQueryRepository) ExistAll() (ret bool, err error)
func (*FeeKindQueryRepository) ExistById ¶
func (o *FeeKindQueryRepository) ExistById(id uuid.UUID) (ret bool, err error)
func (*FeeKindQueryRepository) FindAll ¶
func (o *FeeKindQueryRepository) FindAll() (ret []*FeeKind, err error)
type FeeKindRouter ¶
type FeeKindRouter struct { PathPrefix string `json:"pathPrefix" eh:"optional"` QueryHandler *FeeKindHttpQueryHandler `json:"queryHandler" eh:"optional"` CommandHandler *FeeKindHttpCommandHandler `json:"commandHandler" eh:"optional"` Router *mux.Router `json:"router" eh:"optional"` }
func NewFeeKindRouter ¶
func NewFeeKindRouter(pathPrefix string, context context.Context, commandBus eventhorizon.CommandHandler, readRepos func(string, func() (ret eventhorizon.Entity)) (ret eventhorizon.ReadWriteRepo)) (ret *FeeKindRouter)
type FeeKindUpdated ¶
type FeeQueryRepository ¶
type FeeQueryRepository struct {
// contains filtered or unexported fields
}
func NewFeeQueryRepository ¶
func NewFeeQueryRepository(repo eventhorizon.ReadRepo, context context.Context) (ret *FeeQueryRepository)
func (*FeeQueryRepository) CountAll ¶
func (o *FeeQueryRepository) CountAll() (ret int, err error)
func (*FeeQueryRepository) CountById ¶
func (o *FeeQueryRepository) CountById(id uuid.UUID) (ret int, err error)
func (*FeeQueryRepository) ExistAll ¶
func (o *FeeQueryRepository) ExistAll() (ret bool, err error)
func (*FeeQueryRepository) ExistById ¶
func (o *FeeQueryRepository) ExistById(id uuid.UUID) (ret bool, err error)
func (*FeeQueryRepository) FindAll ¶
func (o *FeeQueryRepository) FindAll() (ret []*Fee, err error)
type FeeRouter ¶
type FeeRouter struct { PathPrefix string `json:"pathPrefix" eh:"optional"` QueryHandler *FeeHttpQueryHandler `json:"queryHandler" eh:"optional"` CommandHandler *FeeHttpCommandHandler `json:"commandHandler" eh:"optional"` Router *mux.Router `json:"router" eh:"optional"` }
func NewFeeRouter ¶
func NewFeeRouter(pathPrefix string, context context.Context, commandBus eventhorizon.CommandHandler, readRepos func(string, func() (ret eventhorizon.Entity)) (ret eventhorizon.ReadWriteRepo)) (ret *FeeRouter)
type FeeUpdated ¶
type FinanceCli ¶
type FinanceCli struct { ExpenseCli *ExpenseCli `json:"expenseCli" eh:"optional"` ExpensePurposeCli *ExpensePurposeCli `json:"expensePurposeCli" eh:"optional"` FeeCli *FeeCli `json:"feeCli" eh:"optional"` FeeKindCli *FeeKindCli `json:"feeKindCli" eh:"optional"` }
func NewFinanceCli ¶
func NewFinanceCli() (ret *FinanceCli)
type FinanceClient ¶
type FinanceClient struct { Url string `json:"url" eh:"optional"` Client *http.Client `json:"client" eh:"optional"` ExpenseClient *ExpenseClient `json:"expenseClient" eh:"optional"` ExpensePurposeClient *ExpensePurposeClient `json:"expensePurposeClient" eh:"optional"` FeeClient *FeeClient `json:"feeClient" eh:"optional"` FeeKindClient *FeeKindClient `json:"feeKindClient" eh:"optional"` }
func NewFinanceClient ¶
func NewFinanceClient(url string, client *http.Client) (ret *FinanceClient)
type FinanceEventhorizonInitializer ¶
type FinanceEventhorizonInitializer struct { ExpenseAggregateInitializer *ExpenseAggregateInitializer `json:"expenseAggregateInitializer" eh:"optional"` ExpensePurposeAggregateInitializer *ExpensePurposeAggregateInitializer `json:"expensePurposeAggregateInitializer" eh:"optional"` FeeAggregateInitializer *FeeAggregateInitializer `json:"feeAggregateInitializer" eh:"optional"` FeeKindAggregateInitializer *FeeKindAggregateInitializer `json:"feeKindAggregateInitializer" eh:"optional"` // contains filtered or unexported fields }
func NewFinanceEventhorizonInitializer ¶
func NewFinanceEventhorizonInitializer(eventStore eventhorizon.EventStore, eventBus eventhorizon.EventBus, commandBus *bus.CommandHandler, readRepos func(string, func() (ret eventhorizon.Entity)) (ret eventhorizon.ReadWriteRepo)) (ret *FinanceEventhorizonInitializer)
func (*FinanceEventhorizonInitializer) Setup ¶
func (o *FinanceEventhorizonInitializer) Setup() (err error)
type FinanceRouter ¶
type FinanceRouter struct { PathPrefix string `json:"pathPrefix" eh:"optional"` ExpenseRouter *ExpenseRouter `json:"expenseRouter" eh:"optional"` ExpensePurposeRouter *ExpensePurposeRouter `json:"expensePurposeRouter" eh:"optional"` FeeRouter *FeeRouter `json:"feeRouter" eh:"optional"` FeeKindRouter *FeeKindRouter `json:"feeKindRouter" eh:"optional"` Router *mux.Router `json:"router" eh:"optional"` }
func NewFinanceRouter ¶
func NewFinanceRouter(pathPrefix string, context context.Context, commandBus *bus.CommandHandler, readRepos func(string, func() (ret eventhorizon.Entity)) (ret eventhorizon.ReadWriteRepo)) (ret *FinanceRouter)
type UpdateExpense ¶
type UpdateExpense struct { Purpose *ExpensePurpose `json:"purpose" eh:"optional"` Amount float64 `json:"amount" eh:"optional"` Profile *person.Profile `json:"profile" eh:"optional"` Date *time.Time `json:"date" eh:"optional"` Id uuid.UUID `json:"id" eh:"optional"` }
func (*UpdateExpense) AggregateID ¶
func (o *UpdateExpense) AggregateID() uuid.UUID
func (*UpdateExpense) AggregateType ¶
func (o *UpdateExpense) AggregateType() eventhorizon.AggregateType
func (*UpdateExpense) CommandType ¶
func (o *UpdateExpense) CommandType() eventhorizon.CommandType
type UpdateExpensePurpose ¶
type UpdateExpensePurpose struct { Name string `json:"name" eh:"optional"` Description string `json:"description" eh:"optional"` Id uuid.UUID `json:"id" eh:"optional"` }
func (*UpdateExpensePurpose) AggregateID ¶
func (o *UpdateExpensePurpose) AggregateID() uuid.UUID
func (*UpdateExpensePurpose) AggregateType ¶
func (o *UpdateExpensePurpose) AggregateType() eventhorizon.AggregateType
func (*UpdateExpensePurpose) CommandType ¶
func (o *UpdateExpensePurpose) CommandType() eventhorizon.CommandType
type UpdateFee ¶
type UpdateFee struct { Student *person.Profile `json:"student" eh:"optional"` Amount float64 `json:"amount" eh:"optional"` Kind *FeeKind `json:"kind" eh:"optional"` Date *time.Time `json:"date" eh:"optional"` Id uuid.UUID `json:"id" eh:"optional"` }
func (*UpdateFee) AggregateID ¶
func (*UpdateFee) AggregateType ¶
func (o *UpdateFee) AggregateType() eventhorizon.AggregateType
func (*UpdateFee) CommandType ¶
func (o *UpdateFee) CommandType() eventhorizon.CommandType
type UpdateFeeKind ¶
type UpdateFeeKind struct { Name string `json:"name" eh:"optional"` Amount float64 `json:"amount" eh:"optional"` Description string `json:"description" eh:"optional"` Id uuid.UUID `json:"id" eh:"optional"` }
func (*UpdateFeeKind) AggregateID ¶
func (o *UpdateFeeKind) AggregateID() uuid.UUID
func (*UpdateFeeKind) AggregateType ¶
func (o *UpdateFeeKind) AggregateType() eventhorizon.AggregateType
func (*UpdateFeeKind) CommandType ¶
func (o *UpdateFeeKind) CommandType() eventhorizon.CommandType
Click to show internal directories.
Click to hide internal directories.