Documentation ¶
Index ¶
- func MarshalArchiveResponse(res *usr_s.Associate, w http.ResponseWriter)
- func MarshalCreateResponse(res *usr_s.Associate, w http.ResponseWriter)
- func MarshalDetailResponse(res *a_c.Associate, w http.ResponseWriter)
- func MarshalListAsSelectOptionResponse(res []*associate_s.AssociateAsSelectOption, w http.ResponseWriter)
- func MarshalListResponse(res *c_s.AssociatePaginationLiteListAndCountResult, w http.ResponseWriter)
- func MarshalOperationAvatarResponse(res *c_s.Associate, w http.ResponseWriter)
- func MarshalOperationCreateCommentResponse(res *c_s.Associate, w http.ResponseWriter)
- func MarshalOperationDowngradeResponse(res *c_s.Associate, w http.ResponseWriter)
- func MarshalOperationUpgradeResponse(res *c_s.Associate, w http.ResponseWriter)
- func MarshalUpdateResponse(res *c_s.Associate, w http.ResponseWriter)
- func UnmarshalOperationAvatarRequest(ctx context.Context, r *http.Request) (*c_c.AssociateOperationAvatarRequest, error)
- func UnmarshalOperationChangePasswordRequest(ctx context.Context, r *http.Request) (*c_c.AssociateOperationChangePasswordRequest, error)
- func UnmarshalOperationChangeTwoFactorAuthenticationRequest(ctx context.Context, r *http.Request) (*c_c.AssociateOperationChangeTwoFactorAuthenticationRequest, error)
- func UnmarshalOperationCreateCommentRequest(ctx context.Context, r *http.Request) (*c_c.AssociateOperationCreateCommentRequest, error)
- func UnmarshalOperationDowngradeRequest(ctx context.Context, r *http.Request) (*c_c.AssociateOperationDowngradeRequest, error)
- func UnmarshalOperationUpgradeRequest(ctx context.Context, r *http.Request) (*c_c.AssociateOperationUpgradeRequest, error)
- type AssociateOperationCreateCommentRequest
- type Handler
- func (h *Handler) Create(w http.ResponseWriter, r *http.Request)
- func (h *Handler) DeleteByID(w http.ResponseWriter, r *http.Request, id string)
- func (h *Handler) GetByID(w http.ResponseWriter, r *http.Request, id string)
- func (h *Handler) ListAsSelectOptions(w http.ResponseWriter, r *http.Request)
- func (h *Handler) LiteList(w http.ResponseWriter, r *http.Request)
- func (h *Handler) OperationArchive(w http.ResponseWriter, r *http.Request)
- func (h *Handler) OperationAvatar(w http.ResponseWriter, r *http.Request)
- func (h *Handler) OperationChangePassword(w http.ResponseWriter, r *http.Request)
- func (h *Handler) OperationChangeTwoFactorAuthentication(w http.ResponseWriter, r *http.Request)
- func (h *Handler) OperationCreateComment(w http.ResponseWriter, r *http.Request)
- func (h *Handler) OperationDowngrade(w http.ResponseWriter, r *http.Request)
- func (h *Handler) OperationUpgrade(w http.ResponseWriter, r *http.Request)
- func (h *Handler) UpdateByID(w http.ResponseWriter, r *http.Request, id string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalArchiveResponse ¶
func MarshalArchiveResponse(res *usr_s.Associate, w http.ResponseWriter)
func MarshalCreateResponse ¶
func MarshalCreateResponse(res *usr_s.Associate, w http.ResponseWriter)
func MarshalDetailResponse ¶
func MarshalDetailResponse(res *a_c.Associate, w http.ResponseWriter)
func MarshalListAsSelectOptionResponse ¶
func MarshalListAsSelectOptionResponse(res []*associate_s.AssociateAsSelectOption, w http.ResponseWriter)
func MarshalListResponse ¶
func MarshalListResponse(res *c_s.AssociatePaginationLiteListAndCountResult, w http.ResponseWriter)
func MarshalOperationAvatarResponse ¶
func MarshalOperationAvatarResponse(res *c_s.Associate, w http.ResponseWriter)
func MarshalOperationCreateCommentResponse ¶
func MarshalOperationCreateCommentResponse(res *c_s.Associate, w http.ResponseWriter)
func MarshalOperationDowngradeResponse ¶
func MarshalOperationDowngradeResponse(res *c_s.Associate, w http.ResponseWriter)
func MarshalOperationUpgradeResponse ¶
func MarshalOperationUpgradeResponse(res *c_s.Associate, w http.ResponseWriter)
func MarshalUpdateResponse ¶
func MarshalUpdateResponse(res *c_s.Associate, w http.ResponseWriter)
Types ¶
type Handler ¶
type Handler struct { Logger *slog.Logger Controller associate_c.AssociateController }
Handler Creates http request handler
func NewHandler ¶
func NewHandler(loggerp *slog.Logger, c associate_c.AssociateController) *Handler
NewHandler Constructor
func (*Handler) DeleteByID ¶
func (*Handler) ListAsSelectOptions ¶
func (h *Handler) ListAsSelectOptions(w http.ResponseWriter, r *http.Request)
func (*Handler) OperationArchive ¶
func (h *Handler) OperationArchive(w http.ResponseWriter, r *http.Request)
func (*Handler) OperationAvatar ¶
func (h *Handler) OperationAvatar(w http.ResponseWriter, r *http.Request)
func (*Handler) OperationChangePassword ¶
func (h *Handler) OperationChangePassword(w http.ResponseWriter, r *http.Request)
func (*Handler) OperationChangeTwoFactorAuthentication ¶
func (h *Handler) OperationChangeTwoFactorAuthentication(w http.ResponseWriter, r *http.Request)
func (*Handler) OperationCreateComment ¶
func (h *Handler) OperationCreateComment(w http.ResponseWriter, r *http.Request)
func (*Handler) OperationDowngrade ¶
func (h *Handler) OperationDowngrade(w http.ResponseWriter, r *http.Request)
func (*Handler) OperationUpgrade ¶
func (h *Handler) OperationUpgrade(w http.ResponseWriter, r *http.Request)
func (*Handler) UpdateByID ¶
Click to show internal directories.
Click to hide internal directories.