Documentation
¶
Index ¶
- func MarshalCreateResponse(res *usr_s.Order, w http.ResponseWriter)
- func MarshalOperationCloneResponse(res *o_s.Order, w http.ResponseWriter)
- func MarshalOperationCloseResponse(res *c_s.Order, w http.ResponseWriter)
- func MarshalOperationCreateCommentResponse(res *c_s.Order, w http.ResponseWriter)
- func MarshalOperationPostponeResponse(res *c_s.Order, w http.ResponseWriter)
- func MarshalOperationTransferResponse(res *c_s.Order, w http.ResponseWriter)
- func MarshalOperationUnassignResponse(res *c_s.Order, w http.ResponseWriter)
- func MarshalPaginatedLiteListResponse(res *o_s.OrderPaginationLiteListAndCountResult, w http.ResponseWriter)
- func MarshalUpdateResponse(res *usr_s.Order, w http.ResponseWriter)
- func UnmarshalOperationCloneRequest(ctx context.Context, r *http.Request) (*o_c.OrderOperationCloneRequest, error)
- func UnmarshalOperationCloseRequest(ctx context.Context, r *http.Request) (*c_c.OrderOperationCloseRequest, error)
- func UnmarshalOperationCreateCommentRequest(ctx context.Context, r *http.Request) (*c_c.OrderOperationCreateCommentRequest, error)
- func UnmarshalOperationPostponeRequest(ctx context.Context, r *http.Request) (*c_c.OrderOperationPostponeRequest, error)
- func UnmarshalOperationTransferRequest(ctx context.Context, r *http.Request) (*c_c.OrderOperationTransferRequest, error)
- func UnmarshalOperationUnassignRequest(ctx context.Context, r *http.Request) (*c_c.OrderOperationUnassignRequest, error)
- type Handler
- func (h *Handler) Create(w http.ResponseWriter, r *http.Request)
- func (h *Handler) DeleteByWJID(w http.ResponseWriter, r *http.Request, idStr string)
- func (h *Handler) GetByWJID(w http.ResponseWriter, r *http.Request, idStr string)
- func (h *Handler) LiteList(w http.ResponseWriter, r *http.Request)
- func (h *Handler) OperationClone(w http.ResponseWriter, r *http.Request)
- func (h *Handler) OperationClose(w http.ResponseWriter, r *http.Request)
- func (h *Handler) OperationCreateComment(w http.ResponseWriter, r *http.Request)
- func (h *Handler) OperationGenerateInvoice(w http.ResponseWriter, r *http.Request)
- func (h *Handler) OperationPostpone(w http.ResponseWriter, r *http.Request)
- func (h *Handler) OperationTransfer(w http.ResponseWriter, r *http.Request)
- func (h *Handler) OperationUnassign(w http.ResponseWriter, r *http.Request)
- func (h *Handler) UpdateByWJID(w http.ResponseWriter, r *http.Request, wjidStr string)
- func (h *Handler) UpdateFinancialByWJID(w http.ResponseWriter, r *http.Request, wjidStr string)
- type OrderOperationCloseRequest
- type OrderOperationCreateCommentRequest
- type OrderOperationPostponeRequest
- type OrderOperationTransferRequest
- type OrderOperationUnassignRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalCreateResponse ¶
func MarshalCreateResponse(res *usr_s.Order, w http.ResponseWriter)
func MarshalOperationCloneResponse ¶
func MarshalOperationCloneResponse(res *o_s.Order, w http.ResponseWriter)
func MarshalOperationCloseResponse ¶
func MarshalOperationCloseResponse(res *c_s.Order, w http.ResponseWriter)
func MarshalOperationCreateCommentResponse ¶
func MarshalOperationCreateCommentResponse(res *c_s.Order, w http.ResponseWriter)
func MarshalOperationPostponeResponse ¶
func MarshalOperationPostponeResponse(res *c_s.Order, w http.ResponseWriter)
func MarshalOperationTransferResponse ¶
func MarshalOperationTransferResponse(res *c_s.Order, w http.ResponseWriter)
func MarshalOperationUnassignResponse ¶
func MarshalOperationUnassignResponse(res *c_s.Order, w http.ResponseWriter)
func MarshalPaginatedLiteListResponse ¶
func MarshalPaginatedLiteListResponse(res *o_s.OrderPaginationLiteListAndCountResult, w http.ResponseWriter)
func MarshalUpdateResponse ¶
func MarshalUpdateResponse(res *usr_s.Order, w http.ResponseWriter)
Types ¶
type Handler ¶
type Handler struct { Logger *slog.Logger Controller order_c.OrderController }
Handler Creates http request handler
func NewHandler ¶
func NewHandler(loggerp *slog.Logger, c order_c.OrderController) *Handler
NewHandler Constructor
func (*Handler) DeleteByWJID ¶
func (*Handler) OperationClone ¶
func (h *Handler) OperationClone(w http.ResponseWriter, r *http.Request)
func (*Handler) OperationClose ¶
func (h *Handler) OperationClose(w http.ResponseWriter, r *http.Request)
func (*Handler) OperationCreateComment ¶
func (h *Handler) OperationCreateComment(w http.ResponseWriter, r *http.Request)
func (*Handler) OperationGenerateInvoice ¶
func (h *Handler) OperationGenerateInvoice(w http.ResponseWriter, r *http.Request)
func (*Handler) OperationPostpone ¶
func (h *Handler) OperationPostpone(w http.ResponseWriter, r *http.Request)
func (*Handler) OperationTransfer ¶
func (h *Handler) OperationTransfer(w http.ResponseWriter, r *http.Request)
func (*Handler) OperationUnassign ¶
func (h *Handler) OperationUnassign(w http.ResponseWriter, r *http.Request)
func (*Handler) UpdateByWJID ¶
func (*Handler) UpdateFinancialByWJID ¶
Click to show internal directories.
Click to hide internal directories.