httptransport

package
v0.0.0-...-53e80a7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2024 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

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)

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) Count

func (h *Handler) Count(w http.ResponseWriter, r *http.Request)

func (*Handler) GetByID

func (h *Handler) GetByID(w http.ResponseWriter, r *http.Request, id string)

func (*Handler) List

func (h *Handler) List(w http.ResponseWriter, r *http.Request)

func (*Handler) ListAssignableAssociatesByTaskID

func (h *Handler) ListAssignableAssociatesByTaskID(w http.ResponseWriter, r *http.Request, id string)

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)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL