util

package
v0.15.3 Latest Latest
Warning

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

Go to latest
Published: May 17, 2022 License: AGPL-3.0, AGPL-3.0-only Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RequestIP

func RequestIP(c *fiber.Ctx) net.IP

Types

type Detail

type Detail struct {
	Error       string `json:"error,omitempty"`
	Path        string `json:"path,omitempty"`
	QueryString string `json:"query_string,omitempty"`
}

func DetailFromRequest

func DetailFromRequest(c *fiber.Ctx) Detail

func ErrDetail added in v0.12.4

func ErrDetail(c *fiber.Ctx, err error) Detail

Jump to

Keyboard shortcuts

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