Documentation ¶
Index ¶
- func BadGatewayErrorHandler(ctx context.Context, w http.ResponseWriter, r *http.Request, err error, ...)
- func DeletionBodyInvalid(ctx context.Context, w http.ResponseWriter, r *http.Request, err error, ...)
- func ErrorHandler(ctx context.Context, w http.ResponseWriter, _ *http.Request, msg string, ...)
- func ForbiddenErrorHandler(ctx context.Context, w http.ResponseWriter, r *http.Request, logMessage string, ...)
- func ParseBodyToDeletionDto(ctx context.Context, r *http.Request, timestamp time.Time) (openapi.DeletionDto, error)
- func StringPathParam(r *http.Request, key string) string
- func StringQueryParam(r *http.Request, key string) string
- func Success(ctx context.Context, w http.ResponseWriter, _ *http.Request, ...)
- func SuccessNoBody(ctx context.Context, w http.ResponseWriter, _ *http.Request, status int)
- func SuccessWithStatus(ctx context.Context, w http.ResponseWriter, _ *http.Request, ...)
- func UnauthorizedErrorHandler(ctx context.Context, w http.ResponseWriter, r *http.Request, logMessage string, ...)
- func UnexpectedErrorHandler(ctx context.Context, w http.ResponseWriter, r *http.Request, err error, ...)
- func WriteJson(ctx context.Context, w http.ResponseWriter, v interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BadGatewayErrorHandler ¶
func DeletionBodyInvalid ¶
func ErrorHandler ¶
func ForbiddenErrorHandler ¶
func ParseBodyToDeletionDto ¶
func SuccessNoBody ¶
func SuccessWithStatus ¶
func UnexpectedErrorHandler ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.