httpresponse

package
v0.0.0-...-b5dcede Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2023 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateBadResponse

func CreateBadResponse(ctx *fiber.Ctx, requestCode int, message string) error

func CreateBadResponseWithCode

func CreateBadResponseWithCode(ctx *fiber.Ctx, requestCode int, errorCode int, message string) error

func CreateBadResponseWithJson

func CreateBadResponseWithJson(ctx *fiber.Ctx, requestCode int, message []byte) error

func CreateSuccessResponse

func CreateSuccessResponse(ctx *fiber.Ctx, requestCode int, message string) error

func CreateSuccessResponseWTBody

func CreateSuccessResponseWTBody(ctx *fiber.Ctx, requestCode int) error

func CreateSuccessResponseWithJson

func CreateSuccessResponseWithJson(ctx *fiber.Ctx, requestCode int, message []byte) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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