Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ResponseErr ¶
type ResponseErrBuilder ¶
type ResponseErrBuilder interface {
WithDetails(map[string]any) ResponseErrBuilder
WithMessage(string) ResponseErrBuilder
WithStatusCode(int) ResponseErrBuilder
WithTrace(string) ResponseErrBuilder
Ready() ResponseErrReadyToSend
Send(http.ResponseWriter, *http.Request) error
}
func NewResponseErrBuilder ¶
func NewResponseErrBuilder() ResponseErrBuilder
type ResponseErrReadyToSend ¶
type ResponseErrReadyToSend interface {
Send(http.ResponseWriter) error
}
func ExtractLimitOffset ¶
func ExtractLimitOffset(r *http.Request) (int, int, ResponseErrReadyToSend)
Click to show internal directories.
Click to hide internal directories.