resputil

package
v0.0.0-...-17c4a14 Latest Latest
Warning

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

Go to latest
Published: May 1, 2022 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, err error) error

Error returns formatted JSON response for failed request

func Success

func Success(c *fiber.Ctx, statusCode int, systemCode string, data interface{}) error

Success returns formatted JSON response for success request

Types

This section is empty.

Jump to

Keyboard shortcuts

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