Documentation ¶
Index ¶
- func ErrorAlreadyExists(response interface{}, message string) interface{}
- func ErrorBadRequest(response interface{}, message string) interface{}
- func ErrorInternal(response interface{}, message string) interface{}
- func ErrorNotFound(response interface{}, message string) interface{}
- func ErrorUnauthorized(response interface{}, message string) interface{}
- func Success(response interface{}, message string, args map[string]interface{}) interface{}
- type ApiResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ErrorAlreadyExists ¶
func ErrorAlreadyExists(response interface{}, message string) interface{}
func ErrorBadRequest ¶
func ErrorBadRequest(response interface{}, message string) interface{}
func ErrorInternal ¶
func ErrorInternal(response interface{}, message string) interface{}
func ErrorNotFound ¶
func ErrorNotFound(response interface{}, message string) interface{}
func ErrorUnauthorized ¶
func ErrorUnauthorized(response interface{}, message string) interface{}
Types ¶
Click to show internal directories.
Click to hide internal directories.