restutils

package
v2.0.0-...-2bee8f3 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFiberParam

func GetFiberParam(fiberCtx *fiber.Ctx, paramName string) string

func RespondWithError

func RespondWithError(c *fiber.Ctx, code int, msg string) error

func RespondWithJson

func RespondWithJson(c *fiber.Ctx, code int, payload interface{}) error

func RespondWithZip

func RespondWithZip(c *fiber.Ctx, code int, payload interface{}, filename string, archivename string) error

func ResponseNoContent

func ResponseNoContent(c *fiber.Ctx, payload interface{}) error

func ResponseOk

func ResponseOk(c *fiber.Ctx, payload interface{}) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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