context

package
v0.0.0-...-10560a3 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: BSD-3-Clause Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddRequestError

func AddRequestError(r *http.Request, err error)

func Clear

func Clear(r *http.Request)

func GetApp

func GetApp(r *http.Request) *app.App

func GetAuthToken

func GetAuthToken(r *http.Request) auth.Token

func GetBody

func GetBody(r *http.Request) ([]byte, error)

func GetDelayedHandler

func GetDelayedHandler(r *http.Request) http.Handler

func GetRequestError

func GetRequestError(r *http.Request) error

func GetRequestID

func GetRequestID(r *http.Request, requestIDHeader string) string

func IsPreventUnlock

func IsPreventUnlock(r *http.Request) bool

func SetApp

func SetApp(r *http.Request, a *app.App)

func SetAuthToken

func SetAuthToken(r *http.Request, t auth.Token)

func SetDelayedHandler

func SetDelayedHandler(r *http.Request, h http.Handler)

func SetPreventUnlock

func SetPreventUnlock(r *http.Request)

func SetRequestID

func SetRequestID(r *http.Request, requestIDHeader, requestID string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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