http

package
v0.5.26 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2025 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNilRequestBody             = errors.New("request body cannot be nil")
	ErrInDevelopment              = errors.New("in development")
	ErrInvalidAuthorizationHeader = gonethttpresponse.NewHeaderError(
		gojwtnethttp.AuthorizationHeaderKey,
		"invalid authorization header",
	)
)

Functions

func GetClientIP added in v0.5.8

func GetClientIP(r *http.Request) string

GetClientIP returns the client's IP address from the request

Types

This section is empty.

Directories

Path Synopsis
jwt
middleware

Jump to

Keyboard shortcuts

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