Documentation ¶
Index ¶
- func MarshalCountResponse(res *ti_c.TaskItemCountResponseIDO, w http.ResponseWriter)
- func MarshalDetailResponse(res *a_c.TaskItem, w http.ResponseWriter)
- func MarshalListResponse(res *as_s.TaskItemPaginationListAndCountResult, w http.ResponseWriter)
- type Handler
- func (h *Handler) AssignAssociateOperation(w http.ResponseWriter, r *http.Request)
- func (h *Handler) CloseOperation(w http.ResponseWriter, r *http.Request)
- func (h *Handler) Count(w http.ResponseWriter, r *http.Request)
- func (h *Handler) GetByID(w http.ResponseWriter, r *http.Request, id string)
- func (h *Handler) List(w http.ResponseWriter, r *http.Request)
- func (h *Handler) ListAssignableAssociatesByTaskID(w http.ResponseWriter, r *http.Request, id string)
- func (h *Handler) OrderCompletionOperation(w http.ResponseWriter, r *http.Request)
- func (h *Handler) PostponeOperation(w http.ResponseWriter, r *http.Request)
- func (h *Handler) SurveyOperation(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalCountResponse ¶
func MarshalCountResponse(res *ti_c.TaskItemCountResponseIDO, w http.ResponseWriter)
func MarshalDetailResponse ¶
func MarshalDetailResponse(res *a_c.TaskItem, w http.ResponseWriter)
func MarshalListResponse ¶
func MarshalListResponse(res *as_s.TaskItemPaginationListAndCountResult, w http.ResponseWriter)
Types ¶
type Handler ¶
type Handler struct { Logger *slog.Logger Controller taskitem_c.TaskItemController }
Handler Creates http request handler
func NewHandler ¶
func NewHandler(loggerp *slog.Logger, c taskitem_c.TaskItemController) *Handler
NewHandler Constructor
func (*Handler) AssignAssociateOperation ¶
func (h *Handler) AssignAssociateOperation(w http.ResponseWriter, r *http.Request)
func (*Handler) CloseOperation ¶
func (h *Handler) CloseOperation(w http.ResponseWriter, r *http.Request)
func (*Handler) ListAssignableAssociatesByTaskID ¶
func (*Handler) OrderCompletionOperation ¶
func (h *Handler) OrderCompletionOperation(w http.ResponseWriter, r *http.Request)
func (*Handler) PostponeOperation ¶
func (h *Handler) PostponeOperation(w http.ResponseWriter, r *http.Request)
func (*Handler) SurveyOperation ¶
func (h *Handler) SurveyOperation(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.