response

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 19, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(c *fiber.Ctx, options ...r.AppErrorOption) error

Error return fiber framework json response with standard error response as the structure.

func ErrorCode

func ErrorCode(c *fiber.Ctx, code int, options ...r.AppErrorOption) error

ErrorCode return fiber framework json response with standard error response as the structure and use given code as response status code.

func Success

func Success(c *fiber.Ctx, options ...r.AppSuccessOption) error

Success return json response with standard success response as the structure.

Types

This section is empty.

Jump to

Keyboard shortcuts

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