status

package
v1.0.52 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 25, 2025 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResponseBuilder

func ResponseBuilder(status int, message string, data interface{}) ([]byte, error)

func ResponseCase

func ResponseCase(w *http.ResponseWriter, status response.Status, data interface{})

func ResponseCaseEcho

func ResponseCaseEcho(c echo.Context, status response.Status, data interface{}) error

func ResponseCaseEchov2 added in v1.0.34

func ResponseCaseEchov2(c echo.Context, r response.Response) error

func ResponseCasev2 added in v1.0.34

func ResponseCasev2(w *http.ResponseWriter, r response.Response)

func ResponseCustom added in v1.0.35

func ResponseCustom(status int, message string, data interface{}, err error, siteError string) response.Response

func ResponseStaNdard added in v1.0.35

func ResponseStaNdard(s response.Status, err error, siteError string) response.Response

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL