Documentation ¶
Overview ¶
Package internal contains support & helpers for go-guardian packages.
Index ¶
- func ParseAuthorizationHeader(key string, r *http.Request, err error) (string, error)
- func ParseCookie(key string, r *http.Request, e error) (string, error)
- func ParseHeader(header string, r *http.Request, err error) (string, error)
- func ParseJSONBody(key string, r *http.Request, err error) (string, error)
- func ParseQuery(key string, r *http.Request, err error) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseAuthorizationHeader ¶
ParseAuthorizationHeader extract Authorization header value or return provided error.
func ParseCookie ¶
ParseCookie extract key value form form HTTP Cookie or return provided error.
func ParseHeader ¶
ParseHeader extract specific header value or return provided error.
func ParseJSONBody ¶
ParseJSONBody extract key value form HTTP request json body or return provided error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.