response

package
v0.10.7 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2025 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewJSendBadRequest added in v0.7.13

func NewJSendBadRequest(
	errorCode *string,
) gonethttpresponse.Response

NewJSendBadRequest creates a new bad request JSend response

Parameters:

  • errorCode: The error code

Returns:

  • gonethttpresponse.Response: The response

func NewJSendDebugBadRequest added in v0.7.13

func NewJSendDebugBadRequest(
	debugErr error,
	errorCode *string,
) gonethttpresponse.Response

NewJSendDebugBadRequest creates a new bad request JSend response with debug information

Parameters:

  • debugErr: The debug error
  • errorCode: The error code

Returns:

  • gonethttpresponse.Response: The response

func NewJSendDebugInternalServerError added in v0.6.1

func NewJSendDebugInternalServerError(
	debugErr error,
	errorCode *string,
) gonethttpresponse.Response

NewJSendDebugInternalServerError creates a new internal server error JSend response with debug information

Parameters:

  • debugErr: The debug error
  • errorCode: The error code

Returns:

  • gonethttpresponse.Response: The response

func NewJSendDebugNotImplemented added in v0.7.12

func NewJSendDebugNotImplemented(
	debugErr error,
	errorCode *string,
) gonethttpresponse.Response

NewJSendDebugNotImplemented creates a new not implemented JSend response with debug information

Parameters:

  • debugErr: The debug error
  • errorCode: The error code

Returns:

  • gonethttpresponse.Response: The response

func NewJSendInternalServerError added in v0.6.1

func NewJSendInternalServerError(
	errorCode *string,
) gonethttpresponse.Response

NewJSendInternalServerError creates a new internal server error JSend response

Parameters:

  • errorCode: The error code

Returns:

  • gonethttpresponse.Response: The response

func NewJSendNotImplemented added in v0.7.12

func NewJSendNotImplemented(
	errorCode *string,
) gonethttpresponse.Response

NewJSendNotImplemented creates a new not implemented JSend response

Parameters:

  • errorCode: The error code

Returns:

  • gonethttpresponse.Response: The response

Types

This section is empty.

Jump to

Keyboard shortcuts

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