Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type QueryContext ¶
type QueryContext interface { SearchPerson() SearchPerson ViewPerson() ViewPerson ViewPersonByEmail() ViewPersonByEmail ViewHouseholdByPerson() ViewHouseholdByPerson }
type SearchPerson ¶
type SearchPerson interface {
Execute(query SearchPersonQuery) (SearchPersonResult, queries.QueryErrorDetail)
}
type SearchPersonQuery ¶
type SearchPersonResult ¶
type ViewHouseholdByPerson ¶
type ViewHouseholdByPerson interface {
Execute(query ViewHouseholdByPersonQuery) (ViewHouseholdByPersonResult, queries.QueryErrorDetail)
}
type ViewHouseholdByPersonQuery ¶
type ViewHouseholdByPersonQuery struct {
PersonID string
}
type ViewHouseholdByPersonResult ¶
type ViewHouseholdByPersonResult queries.QueryResult[dto.Household]
type ViewPerson ¶
type ViewPerson interface {
Execute(query ViewPersonQuery) (ViewPersonResult, queries.QueryErrorDetail)
}
type ViewPersonByEmail ¶
type ViewPersonByEmail interface {
Execute(query ViewPersonByEmailQuery) (ViewPersonResult, queries.QueryErrorDetail)
}
type ViewPersonByEmailQuery ¶
type ViewPersonByEmailQuery struct {
Email string
}
type ViewPersonQuery ¶
type ViewPersonQuery struct {
ID string
}
type ViewPersonResult ¶
type ViewPersonResult queries.QueryResult[dto.Person]
Click to show internal directories.
Click to hide internal directories.