response

package
v0.0.0-...-8a3df02 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InvalidJsonRequest

func InvalidJsonRequest() types.APIError

func InvalidRequestData

func InvalidRequestData(errors map[string]string) types.APIError

func WriteJSON

func WriteJSON(w http.ResponseWriter, r *http.Request, httpStatus int, responseData render.Renderer) error

func WriteJSONCollection

func WriteJSONCollection(w http.ResponseWriter, r *http.Request, httpStatus int, responseData []render.Renderer) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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