helper

package
v0.0.0-...-85d87d0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2023 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Ctx *fiber.Ctx
)

Functions

func BadRequest

func BadRequest(msg string, err error) error

400-499

func Forbidden

func Forbidden(msg string, err error) error

func InternalServerError

func InternalServerError(msg string, err error) error

500-599

func Ok

func Ok(msg string, data any) error

200-299

func Unauthorized

func Unauthorized(msg string, err error) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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