Documentation
¶
Index ¶
- func ApiBadRequestResp(msgs ...any) *api.ApiResponse[any]
- func ApiForbiddenResp(msgs ...any) *api.ApiResponse[any]
- func ApiInternalServerErrorResp(msgs ...any) *api.ApiResponse[any]
- func ApiNotFoundResp(msgs ...any) *api.ApiResponse[any]
- func ApiNotImplementedResp(msgs ...any) *api.ApiResponse[any]
- func ApiSuccessResp[T interface{}](data T, msgs ...any) *api.ApiResponse[T]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ApiInternalServerErrorResp ¶
func ApiInternalServerErrorResp(msgs ...any) *api.ApiResponse[any]
500
func ApiSuccessResp ¶
func ApiSuccessResp[T interface{}](data T, msgs ...any) *api.ApiResponse[T]
200 OK
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.