Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Default ¶
func Default[Body any, Err any](w http.ResponseWriter, body Body, responseErr Err, status int)
func ErrorResponse ¶
func ErrorResponse[Err any](w http.ResponseWriter, responseErr Err, status int)
func SuccessResponse ¶
func SuccessResponse[Body any](w http.ResponseWriter, body Body, status int)
Types ¶
type DefaultResponse ¶
Click to show internal directories.
Click to hide internal directories.