Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PeopleDataLayerComponent ¶
type PeopleDataLayerComponent interface { CommandWorker() worker.UnitOfWork[commands.CommandContext] QueryWorker() worker.QueryWorker[queries.QueryContext] }
type PeopleManagementComponent ¶
type PeopleManagementComponent interface { ViewPerson(context.Context, queries.ViewPersonQuery, out.Output[queries.ViewPersonResult]) ViewPersonByEmail(context.Context, queries.ViewPersonByEmailQuery, out.Output[queries.ViewPersonResult]) SearchPerson(context.Context, queries.SearchPersonQuery, out.Output[queries.SearchPersonResult]) AddPerson(context.Context, dto.Person, out.Output[dto.Person]) UpdatePerson(context.Context, dto.Person, out.Output[dto.Person]) DeletePerson(context.Context, dto.Person, out.Output[bool]) AddHousehold(context.Context, dto.HouseHoldInput, out.Output[dto.Household]) UpdateHousehold(context.Context, dto.HouseHoldInput, out.Output[dto.Household]) DeleteHousehold(context.Context, dto.HouseHoldInput, out.Output[bool]) ViewHouseholdByPerson(context.Context, queries.ViewHouseholdByPersonQuery, out.Output[queries.ViewHouseholdByPersonResult]) }
func NewPeopleManagementComponent ¶
func NewPeopleManagementComponent(data PeopleDataLayerComponent) PeopleManagementComponent
func PeopleManagementComponents ¶
func PeopleManagementComponents(worker worker.UnitOfWork[commands.CommandContext]) PeopleManagementComponent
Click to show internal directories.
Click to hide internal directories.