apiHelper

package
v0.0.0-...-3be4c0f Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: EPL-2.0 Imports: 7 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 GetRequestBody

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

func ParseBoolParam

func ParseBoolParam(value interface{}) (bool, error)

func ResponseWrapper

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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