Versions in this module Expand all Collapse all v4 v4.4.0 Jun 25, 2020 Changes in this version + const JSONContentType + var DefaultClient = &http.Client + var DefaultTransport = &http.Transport + func Get(url string) (resp *http.Response, err error) + func Head(url string) (resp *http.Response, err error) + func Post(url string, contentType string, body io.Reader) (resp *http.Response, err error) + func RealIP(r *http.Request) string + func WriteJSONResponse(w http.ResponseWriter, code int, v interface{}) error Other modules containing this package github.com/msales/pkg github.com/msales/pkg/v3