Documentation
¶
Index ¶
- func ResponseBuilder(status int, message string, data interface{}) ([]byte, error)
- func ResponseCase(w *http.ResponseWriter, status response.Status, data interface{})
- func ResponseCaseEcho(c echo.Context, status response.Status, data interface{}) error
- func ResponseCaseEchov2(c echo.Context, r response.Response) error
- func ResponseCasev2(w *http.ResponseWriter, r response.Response)
- func ResponseCustom(status int, message string, data interface{}, err error, siteError string) response.Response
- func ResponseStaNdard(s response.Status, err error, siteError string) response.Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ResponseBuilder ¶
func ResponseCase ¶
func ResponseCase(w *http.ResponseWriter, status response.Status, data interface{})
func ResponseCaseEcho ¶
func ResponseCaseEchov2 ¶ added in v1.0.34
func ResponseCasev2 ¶ added in v1.0.34
func ResponseCasev2(w *http.ResponseWriter, r response.Response)
func ResponseCustom ¶ added in v1.0.35
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.