Documentation ¶
Index ¶
- type CreateHuman
- type Human
- type HumanList
- type HumanListParams
- type HumanQueryModifier
- type HumanReadParams
- type Opt
- type Service
- func (h *Service) CreateHuman(ctx context.Context, req CreateHuman) (Human, error)
- func (h *Service) DeleteHuman(ctx context.Context, id uuid.UUID) error
- func (h *Service) ListHuman(ctx context.Context, params HumanListParams) (HumanList, error)
- func (h *Service) ReadHuman(ctx context.Context, params HumanReadParams) (Human, error)
- func (h *Service) UpdateHuman(ctx context.Context, id uuid.UUID, req UpdateHuman) (Human, error)
- type UpdateHuman
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateHuman ¶
type Human ¶
func NewHumanList ¶
type HumanQueryModifier ¶
type HumanQueryModifier func(ctx context.Context, q *gen.HumanQuery) error
type HumanReadParams ¶
type Service ¶
type Service struct { HumanListQueryModifier HumanQueryModifier HumanReadQueryModifier HumanQueryModifier // contains filtered or unexported fields }
func (*Service) CreateHuman ¶
func (*Service) DeleteHuman ¶
DeleteHuman handles DELETE /human/{id} requests.
func (*Service) UpdateHuman ¶
Click to show internal directories.
Click to hide internal directories.