package
6.6.0
Repository: https://github.com/lxc/incus.git
Documentation: pkg.go.dev

# Functions

CreateRequestor extracts the lifecycle event requestor data from an http.Request context.
ProjectParam returns the project query parameter from the given request or "default" if parameter is not set.
QueryParam extracts the given query parameter directly from the URL, never from an encoded body.
SaveConnectionInContext can be set as the ConnContext field of a http.Server to set the connection in the request context for later use.

# Constants

CtxAccess is the access field in request context.
CtxAddress is the address field in request context.
CtxConn is the connection field in the request context.
CtxForwardedAddress is the forwarded address field in request context.
CtxForwardedProtocol is the forwarded protocol field in request context.
CtxForwardedUsername is the forwarded username field in request context.
CtxProtocol is the protocol field in request context.
CtxUsername is the username field in request context.
HeaderForwardedAddress is the forwarded address field in request header.
HeaderForwardedProtocol is the forwarded protocol field in request header.
HeaderForwardedUsername is the forwarded username field in request header.

# Type aliases

CtxKey is the type used for all fields stored in the request context.