# Packages
No description provided by the author
# Functions
GetSourceIP retrieve the IP from X-Forwarded-For, X-Real-IP, and RFC7239 Forwarded headers (in that order), falls back to r.RemoteAddr when all else fails.
GetSourceScheme retrieves the scheme from the X-Forwarded-Proto and RFC7239 Forwarded headers (in that order).
IsCookieNameValid test if a string is valid cookie name.
check if string url point to same site ie it relative file.
NegotiateContentEncoding returns the best offered content encoding for the request's Accept-Encoding header.
NegotiateContentType returns the best offered content type for the request's Accept header.
NewCookieFromOptions create http.Cookie.
# Variables
DefaultCookieOptions is a default value for CookieOptions.
# Structs
CookieOptions store configuration for creating HTTP Cookie these fields are a subseet of http.Cookie fields.