Versions in this module Expand all Collapse all v1 v1.0.47 Jan 26, 2024 Changes in this version + func GetBaseURL(r *http.Request, s string) (string, string) + func GetContentType(r *http.Request) string + func GetCurrentBaseURL(r *http.Request) string + func GetCurrentURL(r *http.Request) string + func GetIssuerURL(r *http.Request) string + func GetRandomEncodedStringFromRange(a, b int) string + func GetRandomString(i int) string + func GetRandomStringFromRange(a, b int) string + func GetRandomStringFromRangeWithCharset(a, b int, cs string) string + func GetRelativeURL(r *http.Request, orig, repl string) string + func GetRequestID(r *http.Request) string + func IsMalformedRandomString(s string, a, b int) bool + func ParseCredentials(r *http.Request) (map[string]string, error) + func ParseIdentity(r *http.Request) (map[string]string, error) + func SanitizeSessionID(s string) string + func SanitizeURL(s string) string + func StripQueryParam(url string, param string) string + type Browser struct + func NewBrowser() (*Browser, error) + func (b *Browser) Do(req *http.Request) (string, *http.Response, error)