apiHelper

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2024 License: EPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckMissingParams

func CheckMissingParams(
	requestBody map[string]interface{},
	requiredParams []string,
)

func ReadRequestBody

func ReadRequestBody(c echo.Context) (map[string]interface{}, error)

func ResponseWrapper

func ResponseWrapper(
	c echo.Context,
	responseStatus int,
	responseBody interface{},
) error

func ServiceResponseWithIgnoreToastHeaderWrapper added in v0.1.2

func ServiceResponseWithIgnoreToastHeaderWrapper(
	c echo.Context,
	serviceOutput service.ServiceOutput,
) error

func ServiceResponseWrapper

func ServiceResponseWrapper(
	c echo.Context,
	serviceOutput service.ServiceOutput,
) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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